Haiku does not support "touchscreen" - on Eee Slate. (Asus Eee ep121).
|Reported by:||Bouncer||Owned by:||mmlr|
I am attempting to get Haiku running on Asus's new ep121 computer. It is a tablet device - with a touchscreen replacing the conventional mouse.
Yes - Haiku does run on this machine. But as expected there are a number of problems. I am currently able to run Haiku on this machine by using external usb hid devices.
FIRST PROBLEM : Haiku is not working correctly with the touchscreen device.
The touchscreen device is an 'eGalax PCAP Multitouch' controller. A usb hid device. Haiku's usb hid driver recognizes it as a generic mouse.
Yes - Haiku does respond to a screen touch. But only to position the cursor to the extreme bottom-right corner of the screen.
So - the driver is working (sort of). But haiku is getting some bad input.
I have added debugging statements to the usb_hid driver - and I can clearly see the problem is one of absolute vs relative positioning coordinates.
The device issues 'mouse movement' co-ordinates in the range of 0-32367 for both the X and Y axis. Any touch, almost anywhere on the screen, will result in huge position values. So large in fact that they move the mouse pointer to the far bottom-right corner of the display.
I have also been able to verify that the positioning coordinates reported are in fact proportional to the screen position which was touched.
I am thinking about developing a patch for this myself. It would certainly be fun. But the Input Server is pretty complicated. I would appreciate some advice as to the best approach before I spend a lot of time on this.
Perhaps a 'touchscreen' driver - similar to the way 'touchpad' was set up for the ps/2 drivers ?