[haiku-bugs] Re: [Haiku] #8338: Touch screen doesn't work on Acer W500

  • From: "X512" <trac@xxxxxxxxxxxx>
  • Date: Tue, 06 Mar 2012 09:45:29 -0000

#8338: Touch screen doesn't work on Acer W500
---------------------------+----------------------------
   Reporter:  lxstoian     |      Owner:  nobody
       Type:  enhancement  |     Status:  new
   Priority:  normal       |  Milestone:  R1
  Component:  Drivers      |    Version:  R1/Development
 Resolution:               |   Keywords:  Acer, W500
 Blocked By:               |   Blocking:  8370
Has a Patch:  0            |   Platform:  x86
---------------------------+----------------------------

Comment (by X512):

 I am sure that touchscreen is USB HID. After some hack I force Haiku HID
 driver to send absolute coordinates from touchscreen, but without any
 pressure detection. After some research I found that device had many
 reports and it sends coordinates in report 4. Haiku input system detect
 only first report and ignore others. I hardcoded report 4.

 I think I can fix this problem if I do some more research.
 Also this touchscreen can handle up to 4 contacts in one time and Haiku
 must support it. What message need to be send for second, third and forth
 contact? I think there are some changes in input_server, app_server and
 interface kit needed.

 I think it's need to add contact number to mouse messages and send this
 messages to views with B_MULTITOUCH_AWARE flag.

 Also there are some mechanism for right mouse button emulation needed. In
 windows it just long time pressure with special indicator. I think that it
 can be implemented as filter.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8338#comment:8>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: