aboutsummaryrefslogtreecommitdiff
path: root/identify.sh
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2021-05-16 22:40:33 -0600
committerAlexis Hovorka <[email protected]>2021-05-16 22:40:33 -0600
commit2297530cb1149752445b586b337e5c8d3b7bb108 (patch)
treeffed174b8edff46ccdb533aa1b486e6c216695da /identify.sh
parente97ee92acc19b30c8e3c044049ea5951d8c45d63 (diff)
[feat] Long press 3+ fingers to set home positionHEADmain
Diffstat (limited to 'identify.sh')
-rwxr-xr-xidentify.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/identify.sh b/identify.sh
new file mode 100755
index 0000000..5096f3e
--- /dev/null
+++ b/identify.sh
@@ -0,0 +1,3 @@
+cat /proc/bus/input/devices | grep "^[NH]" |
+ grep -A1 "Logitech Rechargeable Touchpad T650" |
+ tail -n1 | cut -d= -f2- | tr " " "\n" | grep "^event" | head -n1