+ .active_low = 1,
+ .type = EV_KEY,
+ .code = KEY_RESTART,
-+ .threshold = 3,
++ .debounce_interval = 60,
+ },
+ {
+ .desc = "wps",
+ .gpio = 34,
+ .type = EV_KEY,
+ .code = KEY_WPS_BUTTON,
-+ .threshold = 3,
++ .debounce_interval = 60,
+ },
+ },
};
+ struct gpio_led leds[14];
/* Buttons */
- struct gpio_button buttons[4];
+ struct gpio_keys_button buttons[4];