summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/oinputsystem.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiecore/oinputsystem.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/oinputsystem.h38
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
public:
-
- enum Feature
- {
- Synchronous = EV_SYN,
- Keys = EV_KEY,
- Relative = EV_REL,
- Absolute = EV_ABS,
- Miscellaneous = EV_MSC,
- Leds = EV_LED,
- Sound = EV_SND,
- AutoRepeat = EV_REP,
- ForceFeedback = EV_FF,
- PowerManagement = EV_PWR,
- ForceFeedbackStatus = EV_FF_STATUS,
- };
-
- enum Bus
- {
- PCI = BUS_PCI,
- ISAPNP = BUS_ISAPNP,
- HIL = BUS_HIL,
- BLUETOOTH = BUS_BLUETOOTH,
- ISA = BUS_ISA,
- I8042 = BUS_I8042,
- XTKBD = BUS_XTKBD,
- RS232 = BUS_RS232,
- GAMEPORT = BUS_GAMEPORT,
- PARPORT = BUS_PARPORT,
- AMIGA = BUS_AMIGA,
- ADB = BUS_ADB,
- I2C = BUS_I2C,
- HOST = BUS_HOST,
- };
-
- public:
OInputDevice( QObject* parent, const char* name = 0 );
@@ -131,2 +96,4 @@ class OInputDevice : public QObject
+ #include "oinputsystemenums.h"
+
public:
@@ -136,2 +103,3 @@ class OInputDevice : public QObject
bool hasFeature( Feature ) const;
+ bool isHeld( Key ) const;