mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
gpio-button-hotplug: add support for power buttons
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38557 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -90,6 +90,7 @@ static struct bh_map button_map[] = {
|
||||
BH_MAP(BTN_7, "BTN_7"),
|
||||
BH_MAP(BTN_8, "BTN_8"),
|
||||
BH_MAP(BTN_9, "BTN_9"),
|
||||
BH_MAP(KEY_POWER, "power"),
|
||||
BH_MAP(KEY_RESTART, "reset"),
|
||||
BH_MAP(KEY_RFKILL, "rfkill"),
|
||||
BH_MAP(KEY_WPS_BUTTON, "wps"),
|
||||
|
||||
Reference in New Issue
Block a user