2008/9/26 Simon Thum <[EMAIL PROTECTED]>: >> 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. Søren
evdev.patch1
Description: Binary data
_______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg