1 # This is an example configuration for the triggerhappy daemon (thd)
2 # please note that every file to be processed must end in ".conf"
4 # To view a list of supported event codes, use "thd --listevents" or
5 # "thd --dump /dev/input/event*"
8 # <eventcode> <value> <command>
10 # values for key events are 1 (pressed), 0 (released) or 2 (held)
12 ## control an mpd instance
13 # KEY_NEXTSONG 1 /usr/bin/mpc next
14 # KEY_PREVSONG 1 /usr/bin/mpc prev