git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/dvb/sec.cpp: remove not needed satpos depends check when the tuner is linked...
[enigma2.git]
/
lib
/
driver
/
rcinput.cpp
diff --git
a/lib/driver/rcinput.cpp
b/lib/driver/rcinput.cpp
index 107b337be95ae40deb7b9434f55afc88bd7fd84e..2bfeefa1992e53c2a07d55b346f30f91670e15c1 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,14
@@
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)
+{
+ if (!iskeyboard)
+ driver->setExclusive(b);
}
const char *eRCDeviceInputDev::getDescription() const
}
const char *eRCDeviceInputDev::getDescription() const