summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/oinputsystem.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiecore/oinputsystem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oinputsystem.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libopie2/opiecore/oinputsystem.h b/libopie2/opiecore/oinputsystem.h
index 350656b..4d913a1 100644
--- a/libopie2/opiecore/oinputsystem.h
+++ b/libopie2/opiecore/oinputsystem.h
@@ -94,12 +94,12 @@ class OInputDevice : public QObject
public:
- enum EventType
+ enum Feature
{
Synchronous = EV_SYN,
- Keyboard = EV_KEY,
+ Keys = EV_KEY,
Relative = EV_REL,
Absolute = EV_ABS,
Miscellaneous = EV_MSC,
- Led = EV_LED,
+ Leds = EV_LED,
Sound = EV_SND,
AutoRepeat = EV_REP,
@@ -135,4 +135,5 @@ class OInputDevice : public QObject
QString path() const;
QString uniq() const;
+ bool hasFeature( Feature ) const;
private: