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
97a6e7c
..
cdd93d4
100644
(file)
--- a/
lib/driver/rcconsole.cpp
+++ b/
lib/driver/rcconsole.cpp
@@
-98,13
+98,20
@@
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;
eRCConsole device;
public:
class eRCConsoleInit
{
eRCConsoleDriver driver;
eRCConsole device;
public:
- eRCConsoleInit(): driver("/dev/
vc/
0"), device(&driver)
+ eRCConsoleInit(): driver("/dev/
tty
0"), device(&driver)
{
{
+#ifdef VUPLUS_USE_RCKBD
+ g_ConsoleDevice = &device;
+#endif /*VUPLUS_USE_RCKBD*/
}
};
}
};