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 | |||
93 | public: | 93 | public: |
94 | OInputDevice( QObject* parent, const char* name = 0 ); | 94 | OInputDevice( QObject* parent, const char* name = 0 ); |
95 | ~OInputDevice(); | 95 | ~OInputDevice(); |
96 | 96 | ||
97 | #include "oinputsystemenums.h" | 97 | #include <opie2/oinputsystemenums.h> |
98 | 98 | ||
99 | public: | 99 | public: |
100 | /** | 100 | /** |
101 | * @returns the identity string of this input device | 101 | * @returns the identity string of this input device |
@@ -118,11 +118,20 @@ class OInputDevice : public QObject | |||
118 | * @returns whether a given @a Key or Button is being held at the moment | 118 | * @returns whether a given @a Key or Button is being held at the moment |
119 | */ | 119 | */ |
120 | bool isHeld( Key ) const; | 120 | bool isHeld( Key ) const; |
121 | /** | 121 | /** |
122 | * @returns whether a given @a Switch is being held at the moment | ||
123 | */ | ||
124 | bool isHeld( Switch ) const; | ||
125 | /** | ||
122 | * @internal | 126 | * @internal |
123 | * @returns a string containing a printable form of the global keymask | 127 | * @returns a string containing a printable form of the global keymask |
124 | */ | 128 | */ |
129 | QString globalSwitchMask() const; | ||
130 | /** | ||
131 | * @internal | ||
132 | * @returns a string containing a printable form of the global switchmask | ||
133 | */ | ||
125 | QString globalKeyMask() const; | 134 | QString globalKeyMask() const; |
126 | /** | 135 | /** |
127 | * @internal | 136 | * @internal |
128 | * @returns whether a certain @a path corresponds to an input device | 137 | * @returns whether a certain @a path corresponds to an input device |