correct key mapping
This commit is contained in:
@@ -446,13 +446,13 @@ lcdm001_get_key (Driver *drvthis)
|
|||||||
|
|
||||||
read (fd, &in, 1);
|
read (fd, &in, 1);
|
||||||
if (in == pause_key) {
|
if (in == pause_key) {
|
||||||
key = "Escape";
|
key = "Enter";
|
||||||
} else if (in == back_key) {
|
} else if (in == back_key) {
|
||||||
key = "Left";
|
key = "Left";
|
||||||
} else if (in == forward_key) {
|
} else if (in == forward_key) {
|
||||||
key = "Right";
|
key = "Right";
|
||||||
} else if (in == main_menu_key) {
|
} else if (in == main_menu_key) {
|
||||||
key = "Enter";
|
key = "Escape";
|
||||||
}
|
}
|
||||||
debug(RPT_DEBUG, "%s, get_key: %s",
|
debug(RPT_DEBUG, "%s, get_key: %s",
|
||||||
drvthis->name, (key != NULL) ? key : "<null>");
|
drvthis->name, (key != NULL) ? key : "<null>");
|
||||||
|
|||||||
Reference in New Issue
Block a user