Diffstat (limited to 'libopie2/opiecore/oinputsystemenums.h') (more/less context) (ignore 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 | |||
@@ -5,8 +5,9 @@ | |||
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, |
@@ -31,8 +32,20 @@ | |||
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, |