mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 19:49:54 +02:00
add poweroff.conf for triggerhappy
This commit is contained in:
parent
2f537cbdd7
commit
fc8413a769
13
data/qi_lb60/files/etc/triggerhappy/triggers.d/poweroff.conf
Executable file
13
data/qi_lb60/files/etc/triggerhappy/triggers.d/poweroff.conf
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
# 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_POWER 1 /sbin/poweroff
|
Loading…
Reference in New Issue
Block a user