OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 78095b19d2389c7de37a389d4712faafe01bbce3 created 11 years 11 months ago. By Xiangfu, nanonote-files: cleanup etc/ files | |
---|---|
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 |
13 | KEY_POWER 1 /sbin/poweroff |
14 |