Support turbo2.
[vuplus_dvbapp] / lib / driver / rcconsole.cpp
index 97a6e7c..cdd93d4 100644 (file)
@@ -98,13 +98,20 @@ int eRCConsole::getKeyCompatibleCode(const eRCKey &key) const
        return key.code;
 }
 
+#ifdef VUPLUS_USE_RCKBD        
+eRCConsole* g_ConsoleDevice;
+#endif /*VUPLUS_USE_RCKBD*/
+
 class eRCConsoleInit
 {
        eRCConsoleDriver driver;
        eRCConsole device;
 public:
-       eRCConsoleInit(): driver("/dev/vc/0"), device(&driver)
+       eRCConsoleInit(): driver("/dev/tty0"), device(&driver)
        {
+#ifdef VUPLUS_USE_RCKBD        
+               g_ConsoleDevice = &device;
+#endif /*VUPLUS_USE_RCKBD*/
        }
 };