From 394d762c198ccf4d090c90d393f4d08f08f1734b Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sat, 5 Oct 2013 18:42:23 +0200 Subject: report type of key press --- inputdev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inputdev.cc b/inputdev.cc index 7efdeba..74a12c8 100644 --- a/inputdev.cc +++ b/inputdev.cc @@ -588,8 +588,9 @@ void cInputDevice::handle_pollin(void) rc = controller_.Put(code, is_repeated, is_released) ? 0 : -1; if (rc < 0) { - esyslog("%s: failed to put [%02x,%04x,%u] event [%016" PRIX64 ", %d, %d\n", + esyslog("%s: failed to put [%02x,%04x,%u] %sevent [%016" PRIX64 ", %d, %d]\n", controller_.plugin_name(), ev.type, ev.code, ev.value, + is_raw ? "raw " : "", code, is_repeated, is_released); return; } -- cgit v1.2.3