projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/bug_135_dvdburn_ts_only'
[vuplus_dvbapp]
/
lib
/
driver
/
rcinput.cpp
diff --git
a/lib/driver/rcinput.cpp
b/lib/driver/rcinput.cpp
index
107b337
..
e593087
100644
(file)
--- a/
lib/driver/rcinput.cpp
+++ b/
lib/driver/rcinput.cpp
@@
-11,7
+11,7
@@
#include <lib/base/init_num.h>
#include <lib/driver/input_fake.h>
#include <lib/base/init_num.h>
#include <lib/driver/input_fake.h>
-void eRCDeviceInputDev::handleCode(
int
rccode)
+void eRCDeviceInputDev::handleCode(
long
rccode)
{
struct input_event *ev = (struct input_event *)rccode;
if (ev->type!=EV_KEY)
{
struct input_event *ev = (struct input_event *)rccode;
if (ev->type!=EV_KEY)
@@
-83,8
+83,13
@@
eRCDeviceInputDev::eRCDeviceInputDev(eRCInputEventDriver *driver)
break;
}
}
break;
}
}
+ setExclusive(true);
eDebug("Input device \"%s\" is %sa keyboard.", id.c_str(), iskeyboard ? "" : "not ");
eDebug("Input device \"%s\" is %sa keyboard.", id.c_str(), iskeyboard ? "" : "not ");
+}
+void eRCDeviceInputDev::setExclusive(bool b)
+{
+ driver->setExclusive(!iskeyboard && b);
}
const char *eRCDeviceInputDev::getDescription() const
}
const char *eRCDeviceInputDev::getDescription() const