"Don't know how to use device"
hauberg at gmail.com
Fri Sep 26 03:50:29 PDT 2008
2008/9/26 Simon Thum <simon.thum at gmx.de>:
>> So, the 'usbtouchscreen' kernel only announces that it sends
>> BTN_TOUCH, which is indeed the only thing it sends. The problem is
>> that I can't just change how things work in the evdev X11 driver as
>> that will most likely cause problems for people with touchpads. So,
>> what is the proper solution? Should the touchscreens send a different
>> signal (e.g. BTN_LEFT or possibly a new one called BTN_SCREENTOUCH)?
> Well, I'm not so deep in that but anyway: I'd say if BTN_TOUCH is proper,
> evdev should cope with it. You could check for that and register the device
> using XI_TOUCHSCREEN. Then see how BTN_TOUCH behaves and try to guess a
> button press, maybe some threshold does it.
Thanks, I've played a bit around with it, and the attached patch at
least makes the touchscreen recognisable. I doubt this is the right
thing to do, but it's enough to give me a start.
>> P.S. Also CC'ing the list -- hope that's okay
> It wasn't private by intent, just the wrong button.
Yeah, I do that all the time, which why I assumed it was okay to CC the list.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 816 bytes
Desc: not available
More information about the xorg