add debug output to get_key()
This commit is contained in:
@@ -304,6 +304,8 @@ tyan_lcdm_get_key (Driver *drvthis)
|
||||
|
||||
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) {
|
||||
case TYAN_LCDM_KEY_LEFT:
|
||||
return "Left";
|
||||
|
||||
Reference in New Issue
Block a user