add debug output to get_key()

This commit is contained in:
marschap
2006-06-18 11:04:48 +00:00
parent 6d4f22032c
commit 4be0826e83
+2
View File
@@ -304,6 +304,8 @@ tyan_lcdm_get_key (Driver *drvthis)
unsigned char key = tyan_lcdm_read_key(p->fd); unsigned char key = tyan_lcdm_read_key(p->fd);
report(RPT_DEBUG, "%s: get_key(): raw key code: 0x%02X", drvthis->name, key);
switch (key) { switch (key) {
case TYAN_LCDM_KEY_LEFT: case TYAN_LCDM_KEY_LEFT:
return "Left"; return "Left";