X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_xbmc;a=blobdiff_plain;f=xbmc%2Finput%2Flinux%2FLinuxInputDevices.cpp;fp=xbmc%2Finput%2Flinux%2FLinuxInputDevices.cpp;h=506cffffa0a0781e6bc208300b8cd23cb7a7fa49;hp=e23d626a4a2e4dc0eee70343a347e0b1b90ce5b7;hb=85210fa7881f0e6ed871e3381193f3527faace3e;hpb=cb32c8aec3332f288f39eea6714eff4721191189 diff --git a/xbmc/input/linux/LinuxInputDevices.cpp b/xbmc/input/linux/LinuxInputDevices.cpp index e23d626..506cfff 100644 --- 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);