1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-19 17:28:24 +02:00
openwrt-packages/utils/triggerhappy/files/triggerhappy-example.conf
Xiangfu Liu 9c9b62d9fd Revert "remove <triggerhappy> since it went upstream"
since the upstream triggerhappy 0.1.5 not working in NanoNote
  use decide use the old one 0.1.3 with kyak's patch

This reverts commit 18ed9b5cdf.
2010-11-21 00:02:07 +08:00

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