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 @@ -122,8 +122,13 @@ class OInputDevice : public QObject * @internal * @returns a string containing a printable form of the global keymask */ QString globalKeyMask() const; + /** + * @internal + * @returns whether a certain @a path corresponds to an input device + */ + static bool isValid( const QString& path ); private: int _fd; input_id _id; |