summaryrefslogtreecommitdiffstats
path: root/system/triggerhappy/test.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'system/triggerhappy/test.conf.example')
-rw-r--r--system/triggerhappy/test.conf.example10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/triggerhappy/test.conf.example b/system/triggerhappy/test.conf.example
new file mode 100644
index 0000000000..458e6433b4
--- /dev/null
+++ b/system/triggerhappy/test.conf.example
@@ -0,0 +1,10 @@
+# 20201031 bkw: very simple test config.
+# cp test.conf.example test.conf
+# /etc/rc.d/rc.triggerhappy start
+# Press F11 and F12, while running:
+# watch ls /tmp/triggerhappy_works
+# Note that comments are allowed in triggerhappy's .conf files,
+# but blank lines ARE NOT allowed! That's why this looks so
+# cramped and hard to read...
+KEY_F11 1 /usr/bin/touch /tmp/triggerhappy_works
+KEY_F12 1 /usr/bin/rm /tmp/triggerhappy_works