projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support turbo2.
[vuplus_dvbapp]
/
lib
/
driver
/
rcconsole.cpp
diff --git
a/lib/driver/rcconsole.cpp
b/lib/driver/rcconsole.cpp
index
77f4322
..
cdd93d4
100644
(file)
--- a/
lib/driver/rcconsole.cpp
+++ b/
lib/driver/rcconsole.cpp
@@
-98,6
+98,10
@@
int eRCConsole::getKeyCompatibleCode(const eRCKey &key) const
return key.code;
}
return key.code;
}
+#ifdef VUPLUS_USE_RCKBD
+eRCConsole* g_ConsoleDevice;
+#endif /*VUPLUS_USE_RCKBD*/
+
class eRCConsoleInit
{
eRCConsoleDriver driver;
class eRCConsoleInit
{
eRCConsoleDriver driver;
@@
-105,6
+109,9
@@
class eRCConsoleInit
public:
eRCConsoleInit(): driver("/dev/tty0"), device(&driver)
{
public:
eRCConsoleInit(): driver("/dev/tty0"), device(&driver)
{
+#ifdef VUPLUS_USE_RCKBD
+ g_ConsoleDevice = &device;
+#endif /*VUPLUS_USE_RCKBD*/
}
};
}
};