mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-23 03:34:05 +02:00
4dcfd38b2f
Triggerhappy is a lightweight hotkey daemon that can launch arbitrary commands on input events. It supports the hotplugging of devices and the processing of key combinations. Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>
15 lines
452 B
Plaintext
15 lines
452 B
Plaintext
# 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
|