aboutsummaryrefslogtreecommitdiff
path: root/identify.sh
diff options
context:
space:
mode:
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