trunk 20080912
[gitenigma.git] / include / lib / driver / rcinput.h
blobcc9ad60a11e4bc50bfb05ef93366311bcfcefb4e
1 #include <config.h>
3 #ifndef __rcinput_h
4 #define __rcinput_h
6 #include <linux/input.h>
7 #include <lib/driver/rc.h>
9 class eRCDeviceInputDev: public eRCDevice
11 struct input_event cur;
12 int iskeyboard;
13 eTimer repeattimer;
14 public:
15 void repeat();
16 void handleCode(int code);
17 eRCDeviceInputDev(eRCInputEventDriver *driver);
18 const char *getDescription() const;
20 const char *getKeyDescription(const eRCKey &key) const;
21 int getKeyCompatibleCode(const eRCKey &key) const;
24 #endif // __rcinput_h