Input: gpio-keys - add support for disabling gpios through sysfs
[deliverable/linux.git] / include / linux / gpio_keys.h
index ec6ecd74781dca68bdf49c3ea1b80cc00b9d4966..cd0b3f30f48ed1bc8294ac759bf7965b3efce851 100644 (file)
@@ -10,11 +10,13 @@ struct gpio_keys_button {
        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 */
+       bool can_disable;
 };
 
 struct gpio_keys_platform_data {
        struct gpio_keys_button *buttons;
        int nbuttons;
+       unsigned int rep:1;             /* enable input subsystem auto repeat */
 };
 
 #endif
This page took 0.108173 seconds and 5 git commands to generate.