Input: gpio-keys debouncing support

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Dmitry Baryshkov
2008-05-07 16:30:15 -04:00
committed by Dmitry Torokhov
parent 885c316d77
commit a33466e312
2 changed files with 70 additions and 20 deletions

View File

@@ -9,6 +9,7 @@ struct gpio_keys_button {
char *desc;
int type; /* input event type (EV_KEY, EV_SW) */
int wakeup; /* configure the button as a wake-up source */
int debounce_interval; /* debounce ticks interval in msecs */
};
struct gpio_keys_platform_data {