diff options
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index b48d9873cbbc..b32c2b6e53f6 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -346,6 +346,8 @@ struct input_absinfo { | |||
346 | #define KEY_SAVE 234 | 346 | #define KEY_SAVE 234 |
347 | #define KEY_DOCUMENTS 235 | 347 | #define KEY_DOCUMENTS 235 |
348 | 348 | ||
349 | #define KEY_BATTERY 236 | ||
350 | |||
349 | #define KEY_UNKNOWN 240 | 351 | #define KEY_UNKNOWN 240 |
350 | 352 | ||
351 | #define BTN_MISC 0x100 | 353 | #define BTN_MISC 0x100 |
@@ -578,14 +580,9 @@ struct input_absinfo { | |||
578 | * Switch events | 580 | * Switch events |
579 | */ | 581 | */ |
580 | 582 | ||
581 | #define SW_0 0x00 | 583 | #define SW_LID 0x00 /* set = lid shut */ |
582 | #define SW_1 0x01 | 584 | #define SW_TABLET_MODE 0x01 /* set = tablet mode */ |
583 | #define SW_2 0x02 | 585 | #define SW_HEADPHONE_INSERT 0x02 /* set = inserted */ |
584 | #define SW_3 0x03 | ||
585 | #define SW_4 0x04 | ||
586 | #define SW_5 0x05 | ||
587 | #define SW_6 0x06 | ||
588 | #define SW_7 0x07 | ||
589 | #define SW_MAX 0x0f | 586 | #define SW_MAX 0x0f |
590 | 587 | ||
591 | /* | 588 | /* |