Triggerhappy is a lightweight hotkey daemon that
[openwrt.org/packages.git] / utils / triggerhappy / files / triggerhappy-example.conf
blob:a/utils/triggerhappy/files/triggerhappy-example.conf -> blob:b/utils/triggerhappy/files/triggerhappy-example.conf
--- a/utils/triggerhappy/files/triggerhappy-example.conf
+++ b/utils/triggerhappy/files/triggerhappy-example.conf
@@ -1,1 +1,15 @@
+# This is an example configuration for the triggerhappy daemon (thd)
+# please note that every file to be processed must end in ".conf"
+#
+# To view a list of supported event codes, use "thd --listevents" or
+# "thd --dump /dev/input/event*"
+#
+# Format:
+# <eventcode> <value> <command>
+#
+# values for key events are 1 (pressed), 0 (released) or 2 (held)
+#
+## control an mpd instance
+# KEY_NEXTSONG		1	/usr/bin/mpc next
+# KEY_PREVSONG		1	/usr/bin/mpc prev
 

comments