mirror of https://github.com/hak5/openwrt-owl.git
gpio-button-hotplug: add support for power buttons
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38557owl
parent
7f1463623f
commit
14457da13f
|
@ -90,6 +90,7 @@ static struct bh_map button_map[] = {
|
||||||
BH_MAP(BTN_7, "BTN_7"),
|
BH_MAP(BTN_7, "BTN_7"),
|
||||||
BH_MAP(BTN_8, "BTN_8"),
|
BH_MAP(BTN_8, "BTN_8"),
|
||||||
BH_MAP(BTN_9, "BTN_9"),
|
BH_MAP(BTN_9, "BTN_9"),
|
||||||
|
BH_MAP(KEY_POWER, "power"),
|
||||||
BH_MAP(KEY_RESTART, "reset"),
|
BH_MAP(KEY_RESTART, "reset"),
|
||||||
BH_MAP(KEY_RFKILL, "rfkill"),
|
BH_MAP(KEY_RFKILL, "rfkill"),
|
||||||
BH_MAP(KEY_WPS_BUTTON, "wps"),
|
BH_MAP(KEY_WPS_BUTTON, "wps"),
|
||||||
|
|
Loading…
Reference in New Issue