1 #ifndef __lib_driver_rcconsole_h
2 #define __lib_driver_rcconsole_h
5 #include <lib/driver/rc.h>
7 class eRCConsoleDriver: public eRCDriver
15 eRCConsoleDriver(const char *filename);
17 void flushBuffer() const
21 while ( ::read(handle, data, 16) == 16 );
35 class eRCConsole: public eRCDevice
38 void handleCode(int code);
39 eRCConsole(eRCDriver *driver);
40 const char *getDescription() const;
41 const char *getKeyDescription(const eRCKey &key) const;
42 int getKeyCompatibleCode(const eRCKey &key) const;