diff options
author | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2012-12-26 17:31:10 +0100 |
---|---|---|
committer | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2012-12-26 17:31:10 +0100 |
commit | 066739eb80ca494b4239431675ec6686e3ed2100 (patch) | |
tree | 3a93a462067e14344ff287b1b2f47284746653cf /inputdev.c | |
parent | 93fb29642286df305fd9f68830dad34a12fca5b5 (diff) | |
download | vdr-plugin-inputdev-066739eb80ca494b4239431675ec6686e3ed2100.tar.gz vdr-plugin-inputdev-066739eb80ca494b4239431675ec6686e3ed2100.tar.bz2 |
report only EV_KEY events for now
Diffstat (limited to 'inputdev.c')
-rw-r--r-- | inputdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -316,8 +316,8 @@ void cInputDevice::handle(void) return; } - // \todo: do something useful with EV_SYN... - if (ev.type == EV_SYN || ev.type >= EV_MAX) + // \todo: do something useful with the other events... + if (ev.type != EV_KEY) // ignore events which are no valid key events return; |