From 8ea35f618c5811b59f4460d0f2198b9818db281e Mon Sep 17 00:00:00 2001 From: mickeyl Date: Wed, 02 Feb 2005 16:37:12 +0000 Subject: more input system stuff --- (limited to 'libopie2/opiecore/oinputsystem.h') 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 @@ -93,14 +93,14 @@ 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, ForceFeedback = EV_FF, @@ -134,6 +134,7 @@ class OInputDevice : public QObject QString identity() const; QString path() const; QString uniq() const; + bool hasFeature( Feature ) const; private: int _fd; -- cgit v0.9.0.2