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.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
@@ -95,6 +95,6 @@ class OInputDevice : public QObject
- enum EventType
+ enum Feature
{
Synchronous = EV_SYN,
- Keyboard = EV_KEY,
+ Keys = EV_KEY,
Relative = EV_REL,
@@ -102,3 +102,3 @@ class OInputDevice : public QObject
Miscellaneous = EV_MSC,
- Led = EV_LED,
+ Leds = EV_LED,
Sound = EV_SND,
@@ -136,2 +136,3 @@ class OInputDevice : public QObject
QString uniq() const;
+ bool hasFeature( Feature ) const;