1 #ifndef __lib_driver_rcconsole_h
2 #define __lib_driver_rcconsole_h
5 #include <lib/driver/rc.h>
7 class eRCConsoleDriver: public eRCDriver
12 ePtr<eSocketNotifier> sn;
16 eRCConsoleDriver(const char *filename);
18 void flushBuffer() const
22 while ( ::read(handle, data, 16) == 16 );
36 class eRCConsole: public eRCDevice
39 void handleCode(long code);
40 eRCConsole(eRCDriver *driver);
41 const char *getDescription() const;
42 const char *getKeyDescription(const eRCKey &key) const;
43 int getKeyCompatibleCode(const eRCKey &key) const;