author | mickeyl <mickeyl> | 2005-08-31 10:21:12 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-08-31 10:21:12 (UTC) |
commit | cde931654d1966be6989e6c8f3cfacb23e6822a2 (patch) (unidiff) | |
tree | 9a8244f4da0180a685554ebca0d7b628630fb42e /libopie2/opiecore/oinputsystemenums.h | |
parent | 142e7e82efa6dd45884805c34fadec2160225e4b (diff) | |
download | opie-cde931654d1966be6989e6c8f3cfacb23e6822a2.zip opie-cde931654d1966be6989e6c8f3cfacb23e6822a2.tar.gz opie-cde931654d1966be6989e6c8f3cfacb23e6822a2.tar.bz2 |
- add support for the new Switches type in the Linux Input System (coming with 2.6.14)
- use the new Switches support to rewrite the hinge sensor handling on Zaurus models w/ 2.6
- add Switches support to SysInfo, OInputSystem, oinputsystemdemo
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 | |||
@@ -8,2 +8,3 @@ | |||
8 | Miscellaneous = EV_MSC, | 8 | Miscellaneous = EV_MSC, |
9 | Switches = EV_SW, | ||
9 | Leds = EV_LED, | 10 | Leds = EV_LED, |
@@ -34,2 +35,14 @@ | |||
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 |