aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-05-29 23:31:03 -0400
committerDmitry Torokhov <dtor_core@ameritech.net>2006-05-29 23:31:03 -0400
commited8f9e2f047de5d9b791e390269f230a101a6a4b (patch)
tree8bca1bcd3159bf35c57cefe8efc76f24039de186 /include/linux
parentd2f4012f15845761bd3c6f90172e53767c11e359 (diff)
Input: change from numbered to named switches
Remove the numbered SW_* entries from the input system and assign names to the existing users. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/input.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 14036ee0749b..ce1a756c4c30 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -579,14 +579,9 @@ struct input_absinfo {
579 * Switch events 579 * Switch events
580 */ 580 */
581 581
582#define SW_0 0x00 582#define SW_LID 0x00 /* set = lid shut */
583#define SW_1 0x01 583#define SW_TABLET_MODE 0x01 /* set = tablet mode */
584#define SW_2 0x02 584#define SW_HEADPHONE_INSERT 0x02 /* set = inserted */
585#define SW_3 0x03
586#define SW_4 0x04
587#define SW_5 0x05
588#define SW_6 0x06
589#define SW_7 0x07
590#define SW_MAX 0x0f 585#define SW_MAX 0x0f
591 586
592/* 587/*