Diffstat (limited to 'libopie2/opiecore/oinputsystem.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/oinputsystem.h | 38 |
1 files changed, 3 insertions, 35 deletions
diff --git a/libopie2/opiecore/oinputsystem.h b/libopie2/opiecore/oinputsystem.h index 3746023..9020bc1 100644 --- a/libopie2/opiecore/oinputsystem.h +++ b/libopie2/opiecore/oinputsystem.h | |||
@@ -93,37 +93,2 @@ class OInputDevice : public QObject | |||
93 | public: | 93 | public: |
94 | |||
95 | enum Feature | ||
96 | { | ||
97 | Synchronous = EV_SYN, | ||
98 | Keys = EV_KEY, | ||
99 | Relative = EV_REL, | ||
100 | Absolute = EV_ABS, | ||
101 | Miscellaneous = EV_MSC, | ||
102 | Leds = EV_LED, | ||
103 | Sound = EV_SND, | ||
104 | AutoRepeat = EV_REP, | ||
105 | ForceFeedback = EV_FF, | ||
106 | PowerManagement = EV_PWR, | ||
107 | ForceFeedbackStatus = EV_FF_STATUS, | ||
108 | }; | ||
109 | |||
110 | enum Bus | ||
111 | { | ||
112 | PCI = BUS_PCI, | ||
113 | ISAPNP = BUS_ISAPNP, | ||
114 | HIL = BUS_HIL, | ||
115 | BLUETOOTH = BUS_BLUETOOTH, | ||
116 | ISA = BUS_ISA, | ||
117 | I8042 = BUS_I8042, | ||
118 | XTKBD = BUS_XTKBD, | ||
119 | RS232 = BUS_RS232, | ||
120 | GAMEPORT = BUS_GAMEPORT, | ||
121 | PARPORT = BUS_PARPORT, | ||
122 | AMIGA = BUS_AMIGA, | ||
123 | ADB = BUS_ADB, | ||
124 | I2C = BUS_I2C, | ||
125 | HOST = BUS_HOST, | ||
126 | }; | ||
127 | |||
128 | public: | ||
129 | OInputDevice( QObject* parent, const char* name = 0 ); | 94 | OInputDevice( QObject* parent, const char* name = 0 ); |
@@ -131,2 +96,4 @@ class OInputDevice : public QObject | |||
131 | 96 | ||
97 | #include "oinputsystemenums.h" | ||
98 | |||
132 | public: | 99 | public: |
@@ -136,2 +103,3 @@ class OInputDevice : public QObject | |||
136 | bool hasFeature( Feature ) const; | 103 | bool hasFeature( Feature ) const; |
104 | bool isHeld( Key ) const; | ||
137 | 105 | ||