From 7d3a9b9115dbf4263454f1c238a6f32bfb2cd438 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 27 Dec 2012 12:36:17 +0100 Subject: removed some debugging --- inputdev.c | 11 ++++++----- 1 file 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", -- cgit v1.2.3