git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some parental control improvements (made by Tode)
[enigma2.git]
/
lib
/
driver
/
rcinput.cpp
diff --git
a/lib/driver/rcinput.cpp
b/lib/driver/rcinput.cpp
index 0aada8df877982c5d6c3bdd7a8a1608a8df7d3ee..2bfeefa1992e53c2a07d55b346f30f91670e15c1 100644
(file)
--- a/
lib/driver/rcinput.cpp
+++ b/
lib/driver/rcinput.cpp
@@
-83,9
+83,14
@@
eRCDeviceInputDev::eRCDeviceInputDev(eRCInputEventDriver *driver)
break;
}
}
break;
}
}
-
driver->setExclusive(!iskeyboard
);
+
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