diff options
author | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2013-10-05 18:42:23 +0200 |
---|---|---|
committer | Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> | 2013-10-06 15:36:59 +0200 |
commit | 394d762c198ccf4d090c90d393f4d08f08f1734b (patch) | |
tree | a24879d9cb259c54a5cf30aa01bebb7d5fe5a554 | |
parent | 4e4ef7ed69652e34d1dde3332b9b394eaaa9ba29 (diff) | |
download | vdr-plugin-inputdev-394d762c198ccf4d090c90d393f4d08f08f1734b.tar.gz vdr-plugin-inputdev-394d762c198ccf4d090c90d393f4d08f08f1734b.tar.bz2 |
report type of key press
-rw-r--r-- | inputdev.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |