aboutsummaryrefslogtreecommitdiffstats
path: root/tests/touchkeys.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touchkeys.sh')
-rwxr-xr-xtests/touchkeys.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/touchkeys.sh b/tests/touchkeys.sh
new file mode 100755
index 000000000000..4586a8d9d352
--- /dev/null
+++ b/tests/touchkeys.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+cat /sys/class/leds/tm2-touchkey/max_brightness > \
+ /sys/class/leds/tm2-touchkey/brightness
+evtest /dev/input/event0