Comment 61 for bug 1887190

Revision history for this message
Coiby Xu (coiby) wrote :

Hi Stefano,

> sudo evtest
>
> ````
> /dev/input/event17: Elan Touchpad
> /dev/input/event18: MSFT0001:00 04F3:3140
> Select the device event number [0-27]: 17
> Input driver version is 1.0.1
> Input device ID: bus 0x18 vendor 0x4f3 product 0x3140 version 0x100
> Input device name: "Elan Touchpad"
> Supported events:
> Event type 0 (EV_SYN)
> Event type 1 (EV_KEY)
> Event code 272 (BTN_LEFT)
> Event code 325 (BTN_TOOL_FINGER)
> Event code 328 (BTN_TOOL_QUINTTAP)
> Event code 330 (BTN_TOUCH)
> Event code 333 (BTN_TOOL_DOUBLETAP)
> Event code 334 (BTN_TOOL_TRIPLETAP)
> Event code 335 (BTN_TOOL_QUADTAP)
> Event type 3 (EV_ABS)
> Event code 0 (ABS_X)
> Value 0
> Min 0
> Max 3209
> Resolution 31
> Event code 1 (ABS_Y)
> Value 0
> Min 0
> Max 2097
> Resolution 31
> Event code 24 (ABS_PRESSURE)
> Value 0
> Min 0
> Max 255
> Event code 47 (ABS_MT_SLOT)
> Value 0
> Min 0
> Max 4
> Event code 53 (ABS_MT_POSITION_X)
> Value 0
> Min 0
> Max 3209
> Event code 54 (ABS_MT_POSITION_Y)
> Value 0
> Min 0
> Max 2097
> Event code 57 (ABS_MT_TRACKING_ID)
> Value 0
> Min 0
> Max 65535
> Event code 58 (ABS_MT_PRESSURE)
> Value 0
> Min 0
> Max 255
> Properties:
> Property type 0 (INPUT_PROP_POINTER)
> Property type 2 (INPUT_PROP_BUTTONPAD)
> Testing ... (interrupt to exit)
>
> ````

Thank you for providing this! So "*_PRESSURE" events are also supported. When you move your fingers or touch the touchpad, are there any event as follows reported?
> Event: time 1597225994.180980, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
> Event: time 1597225994.180980, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 765
> Event: time 1597225994.180980, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 220
> Event: time 1597225994.180980, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1