vdr-plugin-remote.diff 711 B

12345678910111213141516171819
  1. diff -upr remote/remote.c remote_patched/remote.c
  2. --- remote/remote.c 2010-09-27 00:42:45.273924974 +0200
  3. +++ remote_patched/remote.c 2010-09-27 00:58:26.477924549 +0200
  4. @@ -268,14 +268,7 @@ cRemoteDevInput::cRemoteDevInput(const c
  5. polldelay = repeatdelay = repeatfreq = repeattimeout = 0;
  6. }
  7. - // grab device if possible (kernel 2.6)
  8. -#ifndef EVIOCGRAB
  9. - // required if an old /usr/include/linux/input.h is used with a new kernel :-(
  10. -#define EVIOCGRAB _IOW('E', 0x90, int) /* Grab/Release device */
  11. -#endif
  12. data[0] = 1;
  13. - if (ioctl(f, EVIOCGRAB, data) == 0)
  14. - dsyslog("%s: exclusive access granted", name);
  15. // setup keymap
  16. const char *setupStr = GetSetup();