On Thu, Jul 29, 2010 at 12:05:07PM +0200, Javi wrote: > Thanks Peter for your answer. > > Here is the event sequence when I tap the screen: > > $ evtest /dev/input/event3 > Input driver version is 1.0.0 > Input device ID: bus 0x3 vendor 0xdfc product 0x1 version 0x305 > Input device name: "USB Touchscreen 0dfc:0001" > Supported events: > Event type 0 (Sync) > Event type 1 (Key) > Event code 330 (Touch) > Event type 3 (Absolute) > Event code 0 (X) > Value 0 > Min 0 > Max 32767 > Event code 1 (Y) > Value 0 > Min 0 > Max 32767 > Testing ... (interrupt to exit) > Event: time 1280416669.350938, type 3 (Absolute), code 0 (X), value 1773 > Event: time 1280416669.350943, type 3 (Absolute), code 1 (Y), value 1186 > Event: time 1280416669.350946, -------------- Report Sync ------------ > Event: time 1280416669.354934, type 1 (Key), code 330 (Touch), value 1 > Event: time 1280416669.354941, -------------- Report Sync ------------ > Event: time 1280416669.370923, type 1 (Key), code 330 (Touch), value 0 > > > As seen there, the "Touch" event is generated, but it doesn't behaves > like a left click. Whenever I tap the touchscreen the event is > generated but the mouse cursor doesn't move at all. It remains static. > > How can I bind such event to behave like a left click?
what version of evdev do you have again? evdev should treat BTN_TOUCH from devices without any other buttons as left click though it's not impossible this broke this at some point. try evdev 2.4.0, I thinkt that one should work properly and if it does, please bisect to the commit that broke it. Cheers, Peter _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: [email protected]
