Skip to content

Instantly share code, notes, and snippets.

@v6ak
Created May 13, 2017 16:56
Show Gist options
  • Save v6ak/0732c1bc714473c65aa259e4a9e948f1 to your computer and use it in GitHub Desktop.
Save v6ak/0732c1bc714473c65aa259e4a9e948f1 to your computer and use it in GitHub Desktop.
$ sudo evtest /dev/input/event1
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0xeef product 0xc0aa version 0x111
Input device name: "eGalax Inc. eGalaxTouch EXC3104-1324-05.00.00"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 330 (BTN_TOUCH)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 3134
Min 0
Max 4095
Resolution 12
Event code 1 (ABS_Y)
Value 548
Min 0
Max 4095
Resolution 21
Event code 47 (ABS_MT_SLOT)
Value 0
Min 0
Max 9
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 4095
Resolution 12
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 4095
Resolution 21
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 65535
Properties:
Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)
Event: time 1494694113.972863, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 10
Event: time 1494694113.972863, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 2002
Event: time 1494694113.972863, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 2473
Event: time 1494694113.972863, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1494694113.972863, type 3 (EV_ABS), code 0 (ABS_X), value 2002
Event: time 1494694113.972863, type 3 (EV_ABS), code 1 (ABS_Y), value 2473
Event: time 1494694113.972863, -------------- SYN_REPORT ------------
Event: time 1494694114.041790, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
Event: time 1494694114.041790, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1494694114.041790, -------------- SYN_REPORT ------------
Event: time 1494694115.354764, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 11
Event: time 1494694115.354764, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 3083
Event: time 1494694115.354764, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 1237
Event: time 1494694115.354764, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1494694115.354764, type 3 (EV_ABS), code 0 (ABS_X), value 3083
Event: time 1494694115.354764, type 3 (EV_ABS), code 1 (ABS_Y), value 1237
Event: time 1494694115.354764, -------------- SYN_REPORT ------------
Event: time 1494694115.436707, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
Event: time 1494694115.436707, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1494694115.436707, -------------- SYN_REPORT ------------
Event: time 1494694116.092693, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 12
Event: time 1494694116.092693, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1814
Event: time 1494694116.092693, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 615
Event: time 1494694116.092693, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1494694116.092693, type 3 (EV_ABS), code 0 (ABS_X), value 1814
Event: time 1494694116.092693, type 3 (EV_ABS), code 1 (ABS_Y), value 615
Event: time 1494694116.092693, -------------- SYN_REPORT ------------
Event: time 1494694116.115658, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1820
Event: time 1494694116.115658, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 650
Event: time 1494694116.115658, type 3 (EV_ABS), code 0 (ABS_X), value 1820
Event: time 1494694116.115658, type 3 (EV_ABS), code 1 (ABS_Y), value 650
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment