]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/gpio_keys.h
[IPV6]: Do not send RH0 anymore.
[net-next-2.6.git] / include / linux / gpio_keys.h
index 2b217c7b931252b962402442244dc00b212041ea..265d17830a0f7500cdc83e393d8950f616ff3c86 100644 (file)
@@ -3,10 +3,11 @@
 
 struct gpio_keys_button {
        /* Configuration parameters */
-       int keycode;
+       int code;               /* input event code (KEY_*, SW_*) */
        int gpio;
        int active_low;
        char *desc;
+       int type;               /* input event type (EV_KEY, EV_SW) */
 };
 
 struct gpio_keys_platform_data {