Skip to content

Commit

Permalink
Keyboard: Log more infos if key unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
copy committed Jan 1, 2021
1 parent 1bebfe6 commit 51323ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 51323ea

Please sign in to comment.