Diffstat (limited to 'libopie2/opiecore/oinputsystemenums.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/oinputsystemenums.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libopie2/opiecore/oinputsystemenums.h b/libopie2/opiecore/oinputsystemenums.h index 3461e5a..728423a 100644 --- a/libopie2/opiecore/oinputsystemenums.h +++ b/libopie2/opiecore/oinputsystemenums.h | |||
@@ -3,12 +3,13 @@ | |||
3 | { | 3 | { |
4 | Synchronous = EV_SYN, | 4 | Synchronous = EV_SYN, |
5 | Keys = EV_KEY, | 5 | Keys = EV_KEY, |
6 | Relative = EV_REL, | 6 | Relative = EV_REL, |
7 | Absolute = EV_ABS, | 7 | Absolute = EV_ABS, |
8 | Miscellaneous = EV_MSC, | 8 | Miscellaneous = EV_MSC, |
9 | Switches = EV_SW, | ||
9 | Leds = EV_LED, | 10 | Leds = EV_LED, |
10 | Sound = EV_SND, | 11 | Sound = EV_SND, |
11 | AutoRepeat = EV_REP, | 12 | AutoRepeat = EV_REP, |
12 | ForceFeedback = EV_FF, | 13 | ForceFeedback = EV_FF, |
13 | PowerManagement = EV_PWR, | 14 | PowerManagement = EV_PWR, |
14 | ForceFeedbackStatus = EV_FF_STATUS, | 15 | ForceFeedbackStatus = EV_FF_STATUS, |
@@ -29,12 +30,24 @@ | |||
29 | AMIGA = BUS_AMIGA, | 30 | AMIGA = BUS_AMIGA, |
30 | ADB = BUS_ADB, | 31 | ADB = BUS_ADB, |
31 | I2C = BUS_I2C, | 32 | I2C = BUS_I2C, |
32 | HOST = BUS_HOST, | 33 | HOST = BUS_HOST, |
33 | }; | 34 | }; |
34 | 35 | ||
36 | enum Switch | ||
37 | { | ||
38 | Switch0 = SW_0, | ||
39 | Switch1 = SW_1, | ||
40 | Switch2 = SW_2, | ||
41 | Switch3 = SW_3, | ||
42 | Switch4 = SW_4, | ||
43 | Switch5 = SW_5, | ||
44 | Switch6 = SW_6, | ||
45 | Switch7 = SW_7, | ||
46 | }; | ||
47 | |||
35 | enum Key | 48 | enum Key |
36 | { | 49 | { |
37 | Key_RESERVED = 0, | 50 | Key_RESERVED = 0, |
38 | Key_ESC = 1, | 51 | Key_ESC = 1, |
39 | Key_1 = 2, | 52 | Key_1 = 2, |
40 | Key_2 = 3, | 53 | Key_2 = 3, |