Keyboard: Log more infos if key unknown
This commit is contained in:
parent
1bebfe68bb
commit
51323eaae0
|
@ -371,7 +371,7 @@ function KeyboardAdapter(bus)
|
|||
|
||||
if(!code)
|
||||
{
|
||||
console.log("Missing char in map: " + e.keyCode.toString(16));
|
||||
console.log("Missing char in map: keyCode=" + (e.keyCode || -1).toString(16) + " code=" + e.code);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue