[evdev+touchscreen] BTN_TOUCH not treated as left click

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to make a GeneralTouch USB touchscreen to work with evdev
driver. After some calibration, drag events work well, but when I tap
on the screen the "Touch" event is detected but it's not treated as a
left click and the mouse cursor doesn't move at all.

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: type 3 (Absolute), code 0 (X), value 1773
Event: type 3 (Absolute), code 1 (Y), value 1186
Event: -------------- Report Sync ------------
Event: type 1 (Key), code 330 (Touch), value 1
Event: -------------- Report Sync ------------
Event: type 1 (Key), code 330 (Touch), value 0

The event is also detectd with xinput
$ xinput --test "USB Touchscreen 0dfc:0001"
button press 1
button release 1


How can I bind such event to behave like a left click?

Used versions:
X.Org X Server 1.7.6
xf86-input-evdev 2.4.0

Thanks.

--Javi
_______________________________________________
xorg@xxxxxxxxxxxxxxxxxxxxx: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: list-xorg@xxxxxxxxxxx


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [Intel Graphics]     [AMD Graphics]     [Nouveau Driver]     [XFree86]     [XFree86 Newbie]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]

  Powered by Linux