Diffstat (limited to 'libopie2/opiecore/linux/oinputsystem.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/linux/oinputsystem.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libopie2/opiecore/linux/oinputsystem.h b/libopie2/opiecore/linux/oinputsystem.h index 9676e73..fb5f498 100644 --- a/libopie2/opiecore/linux/oinputsystem.h +++ b/libopie2/opiecore/linux/oinputsystem.h @@ -93,9 +93,9 @@ class OInputDevice : public QObject public: OInputDevice( QObject* parent, const char* name = 0 ); ~OInputDevice(); - #include "oinputsystemenums.h" + #include <opie2/oinputsystemenums.h> public: /** * @returns the identity string of this input device @@ -118,11 +118,20 @@ class OInputDevice : public QObject * @returns whether a given @a Key or Button is being held at the moment */ bool isHeld( Key ) const; /** + * @returns whether a given @a Switch is being held at the moment + */ + bool isHeld( Switch ) const; + /** * @internal * @returns a string containing a printable form of the global keymask */ + QString globalSwitchMask() const; + /** + * @internal + * @returns a string containing a printable form of the global switchmask + */ QString globalKeyMask() const; /** * @internal * @returns whether a certain @a path corresponds to an input device |