projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb32c8a
)
Remove EVIOCGRAB setting.
author
oskwon
<oskwon@dev3>
Thu, 27 Nov 2014 07:02:25 +0000
(16:02 +0900)
committer
oskwon
<oskwon@dev3>
Thu, 27 Nov 2014 07:02:25 +0000
(16:02 +0900)
xbmc/input/linux/LinuxInputDevices.cpp
patch
|
blob
|
history
diff --git
a/xbmc/input/linux/LinuxInputDevices.cpp
b/xbmc/input/linux/LinuxInputDevices.cpp
index
e23d626
..
506cfff
100644
(file)
--- a/
xbmc/input/linux/LinuxInputDevices.cpp
+++ b/
xbmc/input/linux/LinuxInputDevices.cpp
@@
-1143,8
+1143,9
@@
bool CLinuxInputDevice::Open()
return true;
driver_open_device_error:
-
+#ifndef TARGET_DVBBOX // oskwon
ioctl(fd, EVIOCGRAB, 0);
+#endif /*TARGET_DVBBOX*/
if (m_vt_fd >= 0)
{
close(m_vt_fd);
@@
-1218,9
+1219,10
@@
bool CLinuxInputDevice::GetKeymapEntry(KeymapEntry& entry)
*/
void CLinuxInputDevice::Close()
{
+#ifndef TARGET_DVBBOX // oskwon
/* release device */
ioctl(m_fd, EVIOCGRAB, 0);
-
+#endif /*TARGET_DVBBOX*/
if (m_vt_fd >= 0)
close(m_vt_fd);