projects
/
vuplus_xbmc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove EVIOCGRAB setting.
[vuplus_xbmc]
/
xbmc
/
input
/
linux
/
LinuxInputDevices.cpp
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:
return true;
driver_open_device_error:
-
+#ifndef TARGET_DVBBOX // oskwon
ioctl(fd, EVIOCGRAB, 0);
ioctl(fd, EVIOCGRAB, 0);
+#endif /*TARGET_DVBBOX*/
if (m_vt_fd >= 0)
{
close(m_vt_fd);
if (m_vt_fd >= 0)
{
close(m_vt_fd);
@@
-1218,9
+1219,10
@@
bool CLinuxInputDevice::GetKeymapEntry(KeymapEntry& entry)
*/
void CLinuxInputDevice::Close()
{
*/
void CLinuxInputDevice::Close()
{
+#ifndef TARGET_DVBBOX // oskwon
/* release device */
ioctl(m_fd, EVIOCGRAB, 0);
/* release device */
ioctl(m_fd, EVIOCGRAB, 0);
-
+#endif /*TARGET_DVBBOX*/
if (m_vt_fd >= 0)
close(m_vt_fd);
if (m_vt_fd >= 0)
close(m_vt_fd);