Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
xinput test-xi2 – touch events. Related to https://github.com/QubesOS/qubes-issues/issues/3337 .
EVENT type 22 (RawTouchBegin)
device: 2 (15)
detail: 2082
valuators:
0: 18367.72 (18367.72)
1: 51967.21 (51967.21)
EVENT type 6 (Motion)
device: 15 (15)
detail: 0
flags: emulated
root: 1358.12/1014.39
event: 60.12/134.39
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 18367.72
1: 51967.21
windows: root 0xf3 event 0x4e00001 child 0x0
EVENT type 8 (Leave)
device: 2 (15)
windows: root 0xf3 event 0x4e00001 child 0x0
mode: NotifyNormal (detail NotifyNonlinear)
flags: [focus] [same screen]
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
root x/y: 538.00 / 856.00
event x/y: -760.00 / -24.00
EVENT type 10 (FocusOut)
device: 3 (3)
windows: root 0xf3 event 0x4e00001 child 0x0
mode: NotifyNormal (detail NotifyNonlinear)
flags: [same screen]
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
root x/y: 538.00 / 856.00
event x/y: -760.00 / -24.00
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2082
valuators:
0: 18127.72 (18127.72)
1: 52495.20 (52495.20)
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2082
valuators:
0: 18031.72 (18031.72)
1: 53007.19 (53007.19)
EVENT type 22 (RawTouchBegin)
device: 2 (15)
detail: 2083
valuators:
0: 23279.64 (23279.64)
1: 46191.30 (46191.30)
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2082
valuators:
0: 17983.73 (17983.73)
1: 53327.19 (53327.19)
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2082
valuators:
0: 17967.73 (17967.73)
1: 53375.19 (53375.19)
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2082
valuators:
0: 17967.73 (17967.73)
1: 53423.18 (53423.18)
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2082
valuators:
0: 17967.73 (17967.73)
1: 53471.18 (53471.18)
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2082
valuators:
0: 17967.73 (17967.73)
1: 53519.18 (53519.18)
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2082
valuators:
0: 17983.73 (17983.73)
1: 53567.18 (53567.18)
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2082
valuators:
0: 17999.73 (17999.73)
1: 53615.18 (53615.18)
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2082
valuators:
0: 17999.73 (17999.73)
1: 53567.18 (53567.18)
EVENT type 24 (RawTouchEnd)
device: 2 (15)
detail: 2083
valuators:
0: 23279.64 (0.00)
1: 46191.30 (0.00)
EVENT type 24 (RawTouchEnd)
device: 2 (15)
detail: 2082
valuators:
0: 17999.73 (0.00)
1: 53567.18 (0.00)
EVENT type 1 (DeviceChanged)
device: 2 (15)
reason: SlaveSwitch
Reporting 5 classes:
Class originated from: 15. Type: XIButtonClass
Buttons supported: 7
Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right"
Button state:
Class originated from: 15. Type: XIValuatorClass
Detail for Valuator 0:
Label: Abs MT Position X
Range: 0.000000 - 65535.000000
Resolution: 0 units/m
Mode: absolute
Current value: 47711.000000
Class originated from: 15. Type: XIValuatorClass
Detail for Valuator 1:
Label: Abs MT Position Y
Range: 0.000000 - 65535.000000
Resolution: 0 units/m
Mode: absolute
Current value: 59935.000000
Class originated from: 15. Type: XIValuatorClass
Detail for Valuator 2:
Label: Rel Horiz Scroll
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 15. Type: XIValuatorClass
Detail for Valuator 3:
Label: Rel Vert Scroll
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
EVENT type 22 (RawTouchBegin)
device: 2 (15)
detail: 2080
valuators:
0: 46655.29 (46655.29)
1: 61151.07 (61151.07)
EVENT type 18 (TouchBegin)
device: 15 (15)
detail: 2080
flags: emulating
root: 1366.85/1007.74
event: 68.85/127.74
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 46655.29
1: 61151.07
windows: root 0xf3 event 0x4e00001 child 0x4e00001
EVENT type 7 (Enter)
device: 2 (15)
windows: root 0xf3 event 0x4e00001 child 0x0
mode: NotifyNormal (detail NotifyNonlinear)
flags: [focus] [same screen]
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
root x/y: 1366.00 / 1007.00
event x/y: 68.00 / 127.00
EVENT type 6 (Motion)
device: 2 (15)
detail: 0
flags: emulated
root: 1366.85/1007.74
event: 68.85/127.74
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 46655.29
1: 61151.07
windows: root 0xf3 event 0x4e00001 child 0x0
EVENT type 18 (TouchBegin)
device: 2 (15)
detail: 2080
flags: emulating
root: 1366.85/1007.74
event: 68.85/127.74
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 46655.29
1: 61151.07
windows: root 0xf3 event 0x4e00001 child 0x4e00001
EVENT type 22 (RawTouchBegin)
device: 2 (15)
detail: 2081
valuators:
0: 48799.26 (48799.26)
1: 55983.15 (55983.15)
EVENT type 18 (TouchBegin)
device: 15 (15)
detail: 2081
flags:
root: 1429.67/922.57
event: 131.67/42.57
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 48799.26
1: 55983.15
windows: root 0xf3 event 0x4e00001 child 0x4e00001
EVENT type 18 (TouchBegin)
device: 2 (15)
detail: 2081
flags:
root: 1429.67/922.57
event: 131.67/42.57
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 48799.26
1: 55983.15
windows: root 0xf3 event 0x4e00001 child 0x4e00001
EVENT type 23 (RawTouchUpdate)
device: 2 (15)
detail: 2080
valuators:
0: 46367.29 (46367.29)
1: 61583.06 (61583.06)
EVENT type 19 (TouchUpdate)
device: 15 (15)
detail: 2080
flags: emulating
root: 1358.42/1014.86
event: 60.42/134.86
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 46367.29
1: 61583.06
windows: root 0xf3 event 0x4e00001 child 0x4e00001
EVENT type 19 (TouchUpdate)
device: 2 (15)
detail: 2080
flags: emulating
root: 1358.42/1014.86
event: 60.42/134.86
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 46367.29
1: 61583.06
windows: root 0xf3 event 0x4e00001 child 0x4e00001
EVENT type 24 (RawTouchEnd)
device: 2 (15)
detail: 2081
valuators:
0: 48799.26 (0.00)
1: 55983.15 (0.00)
EVENT type 20 (TouchEnd)
device: 15 (15)
detail: 2081
flags:
root: 1429.67/922.57
event: 131.67/42.57
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 48799.26
1: 55983.15
windows: root 0xf3 event 0x4e00001 child 0x4e00001
EVENT type 20 (TouchEnd)
device: 2 (15)
detail: 2081
flags:
root: 1429.67/922.57
event: 131.67/42.57
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 48799.26
1: 55983.15
windows: root 0xf3 event 0x4e00001 child 0x4e00001
EVENT type 24 (RawTouchEnd)
device: 2 (15)
detail: 2080
valuators:
0: 46367.29 (0.00)
1: 61583.06 (0.00)
EVENT type 20 (TouchEnd)
device: 15 (15)
detail: 2080
flags: emulating
root: 1358.42/1014.86
event: 60.42/134.86
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 46367.29
1: 61583.06
windows: root 0xf3 event 0x4e00001 child 0x4e00001
EVENT type 20 (TouchEnd)
device: 2 (15)
detail: 2080
flags: emulating
root: 1358.42/1014.86
event: 60.42/134.86
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 46367.29
1: 61583.06
windows: root 0xf3 event 0x4e00001 child 0x4e00001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment