summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>2012-12-27 12:36:17 +0100
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>2012-12-27 12:36:17 +0100
commit7d3a9b9115dbf4263454f1c238a6f32bfb2cd438 (patch)
treea00d923cd4980f3d089cc50eacdd99627028ce0a
parent4777ed032ac40cc71cf8bfedaedd56eecf77c5b2 (diff)
downloadvdr-plugin-inputdev-7d3a9b9115dbf4263454f1c238a6f32bfb2cd438.tar.gz
vdr-plugin-inputdev-7d3a9b9115dbf4263454f1c238a6f32bfb2cd438.tar.bz2
removed some debugging
-rw-r--r--inputdev.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/inputdev.c b/inputdev.c
index 03c039c..d7236a6 100644
--- a/inputdev.c
+++ b/inputdev.c
@@ -441,11 +441,12 @@ void cInputDevice::handle(void)
// ignore events which are no valid key events
return;
- dsyslog("%s: event{%s}=[%lu.%06u, %02x, %04x, %d]\n",
- controller_.plugin_name(), get_dev_path(),
- (unsigned long)(ev.time.tv_sec),
- (unsigned int)(ev.time.tv_usec),
- ev.type, ev.code, ev.value);
+ if (0)
+ dsyslog("%s: event{%s}=[%lu.%06u, %02x, %04x, %d]\n",
+ controller_.plugin_name(), get_dev_path(),
+ (unsigned long)(ev.time.tv_sec),
+ (unsigned int)(ev.time.tv_usec),
+ ev.type, ev.code, ev.value);
if (magic_state_.process(ev)) {
isyslog("%s: magic keysequence from %s; detaching device\n",