Date:2010-11-17 16:33:10 (13 years 4 months ago)
Author:Xiangfu Liu
Commit:5d74e23d3768f319041d854f4d7f104d1c17d3c9
Message:add poweroff.conf for triggerhappy

Files: data/qi_lb60/files/etc/triggerhappy/triggers.d/poweroff.conf (1 diff)

Change Details

data/qi_lb60/files/etc/triggerhappy/triggers.d/poweroff.conf
1# This is an example configuration for the triggerhappy daemon (thd)
2# please note that every file to be processed must end in ".conf"
3#
4# To view a list of supported event codes, use "thd --listevents" or
5# "thd --dump /dev/input/event*"
6#
7# Format:
8# <eventcode> <value> <command>
9#
10# values for key events are 1 (pressed), 0 (released) or 2 (held)
11#
12## control an mpd instance
13KEY_POWER 1 /sbin/poweroff

Archive Download the corresponding diff file



interactive