# 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: # # # values for key events are 1 (pressed), 0 (released) or 2 (held) # ## control an mpd instance KEY_POWER 1 /sbin/poweroff