{
.desc = "soft_reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = AP83_GPIO_BTN_RESET,
.active_low = 1,
} , {
.desc = "jumpstart",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = AP83_GPIO_BTN_JUMPSTART,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = AW_NR580_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = AW_NR580_GPIO_BTN_WPS,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = DIR_600_A1_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = DIR_600_A1_GPIO_BTN_WPS,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = DIR_615C1_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = DIR_615C1_GPIO_BTN_WPS,
}
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = DIR825B1_GPIO_BTN_RESET,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = MZK_W04NU_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = MZK_W04NU_GPIO_BTN_WPS,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = MZK_W300NH_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = MZK_W300NH_GPIO_BTN_WPS,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 5,
.gpio = NBG460N_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 5,
.gpio = NBG460N_GPIO_BTN_WPS,
.active_low = 1,
{
.desc = "soft_reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = PB44_GPIO_SW_RESET,
.active_low = 1,
} , {
.desc = "jumpstart",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = PB44_GPIO_SW_JUMP,
.active_low = 1,
{
.desc = "reset_switch",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = RB4XX_GPIO_RESET_SWITCH,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = TEW_632BRP_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = TEW_632BRP_GPIO_BTN_WPS,
}
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = TL_WR1043ND_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = TL_WR1043ND_GPIO_BTN_QSS,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = TL_WR741ND_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = TL_WR741ND_GPIO_BTN_QSS,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = TL_WR841ND_V1_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = TL_WR841ND_V1_GPIO_BTN_QSS,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = TL_WR941ND_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "qss",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = TL_WR941ND_GPIO_BTN_QSS,
.active_low = 1,
{
.desc = "sw4",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = UBNT_RS_GPIO_SW4,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = UBNT_M_GPIO_BTN_RESET,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = WNDR3700_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = WNDR3700_GPIO_BTN_WPS,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = WNR2000_GPIO_BTN_RESET,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = WNR2000_GPIO_BTN_WPS,
}
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = WRT160NL_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "wps",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = WRT160NL_GPIO_BTN_WPS,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = WRT400N_GPIO_BTN_RESET,
.active_low = 1,
} , {
.desc = "wlsec",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = WRT400N_GPIO_BTN_WLSEC,
.active_low = 1,
{
.desc = "reset",
.type = EV_KEY,
- .code = BTN_0,
+ .code = KEY_RESTART,
.threshold = 3,
.gpio = WZRHPG300NH_GPIO_BTN_RESET,
.active_low = 1,
}, {
.desc = "aoss",
.type = EV_KEY,
- .code = BTN_1,
+ .code = KEY_WPS_BUTTON,
.threshold = 3,
.gpio = WZRHPG300NH_GPIO_BTN_AOSS,
.active_low = 1,