mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
01f48ca6dc
git-svn-id: https://svn.fhem.de/fhem/trunk@1134 2b470e98-0d58-463d-a4d8-8e2adae1ed80
19 lines
711 B
Diff
19 lines
711 B
Diff
diff -upr remote/remote.c remote_patched/remote.c
|
|
--- remote/remote.c 2010-09-27 00:42:45.273924974 +0200
|
|
+++ remote_patched/remote.c 2010-09-27 00:58:26.477924549 +0200
|
|
@@ -268,14 +268,7 @@ cRemoteDevInput::cRemoteDevInput(const c
|
|
polldelay = repeatdelay = repeatfreq = repeattimeout = 0;
|
|
}
|
|
|
|
- // grab device if possible (kernel 2.6)
|
|
-#ifndef EVIOCGRAB
|
|
- // required if an old /usr/include/linux/input.h is used with a new kernel :-(
|
|
-#define EVIOCGRAB _IOW('E', 0x90, int) /* Grab/Release device */
|
|
-#endif
|
|
data[0] = 1;
|
|
- if (ioctl(f, EVIOCGRAB, data) == 0)
|
|
- dsyslog("%s: exclusive access granted", name);
|
|
|
|
// setup keymap
|
|
const char *setupStr = GetSetup();
|