How to configure touchscreen pressure sensitivity with evdev driver?

Javi javi.garcia at degestec.com
Thu Jul 29 03:05:07 PDT 2010


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?

Thanks.



More information about the xorg mailing list