Created
June 7, 2017 06:57
-
-
Save tjgordon/e31e9b9b56d518e58ce4e92c9be66f56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tgordon@VP11 scripts]$ xinput --list --long | grep -E "id=|XITouchClass" | |
⎡ Virtual core pointer id=2 [master pointer (3)] | |
Class originated from: 14. Type: XITouchClass | |
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] | |
⎜ ↳ Lenovo ThinkPad Compact USB Keyboard with TrackPoint id=9 [slave pointer (2)] | |
⎜ ↳ SYNA7500:00 06CB:780D id=14 [slave pointer (2)] | |
Class originated from: 14. Type: XITouchClass | |
⎣ Virtual core keyboard id=3 [master keyboard (2)] | |
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] | |
↳ Video Bus id=6 [slave keyboard (3)] | |
↳ Power Button id=7 [slave keyboard (3)] | |
↳ Lenovo ThinkPad Compact USB Keyboard with TrackPoint id=8 [slave keyboard (3)] | |
↳ Integrated_Webcam_FHD id=10 [slave keyboard (3)] | |
↳ Integrated_Webcam_8M id=11 [slave keyboard (3)] | |
↳ Intel Virtual Button driver id=12 [slave keyboard (3)] | |
↳ SYNA7500:00 06CB:780D Pen id=13 [slave keyboard (3)] | |
↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)] | |
↳ Dell WMI hotkeys id=16 [slave keyboard (3)] | |
↳ Lenovo ThinkPad Compact USB Keyboard with TrackPoint id=17 [slave keyboard (3)] | |
[tgordon@VP11 scripts]$ for path in /sys/class/input/mouse* ; do read prop < "$path"/device/properties ; set=$((prop & 2)) ; [ $set -eq 2 ] && cat "$path"/device/name ; done | |
SYNA7500:00 06CB:780D | |
[tgordon@VP11 scripts]$ sudo python tapioca.py --device "SYNA7500:00 06CB:780D" | |
[sudo] password for tgordon: | |
No touch input detected. | |
Please make sure you have entered correct touch panel name in user settings. | |
Quitting in 10 seconds. | |
[tgordon@VP11 scripts]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment