mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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:
parent
885c316d77
commit
a33466e312
2 changed files with 70 additions and 20 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue