Diffstat (limited to 'libopie2/opiecore/oinputsystem.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/oinputsystem.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libopie2/opiecore/oinputsystem.h b/libopie2/opiecore/oinputsystem.h index 7919610..6f822a1 100644 --- a/libopie2/opiecore/oinputsystem.h +++ b/libopie2/opiecore/oinputsystem.h | |||
@@ -120,12 +120,17 @@ class OInputDevice : public QObject | |||
120 | bool isHeld( Key ) const; | 120 | bool isHeld( Key ) const; |
121 | /** | 121 | /** |
122 | * @internal | 122 | * @internal |
123 | * @returns a string containing a printable form of the global keymask | 123 | * @returns a string containing a printable form of the global keymask |
124 | */ | 124 | */ |
125 | QString globalKeyMask() const; | 125 | QString globalKeyMask() const; |
126 | /** | ||
127 | * @internal | ||
128 | * @returns whether a certain @a path corresponds to an input device | ||
129 | */ | ||
130 | static bool isValid( const QString& path ); | ||
126 | 131 | ||
127 | private: | 132 | private: |
128 | int _fd; | 133 | int _fd; |
129 | input_id _id; | 134 | input_id _id; |
130 | 135 | ||
131 | }; | 136 | }; |