Add Meta Key mapping to xtscancodes.js

OSLeft/OSRight have been renamed to MetaLeft/MetaRight respectively.

This change will allow the Super/Windows key to be used under the qemu rfb extension under Chrome and updated browsers.

https://github.com/w3c/uievents-code/issues/7
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code
This commit is contained in:
Asad Saeed 2016-09-06 14:42:13 -04:00 committed by GitHub
parent 7a16304e52
commit 5fd57e8a6a
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,8 @@ XtScancode["ArrowDown"] = 0xE050;
XtScancode["PageDown"] = 0xE051;
XtScancode["Insert"] = 0xE052;
XtScancode["Delete"] = 0xE053;
XtScancode["MetaLeft"] = 0xE05B;
XtScancode["MetaRight"] = 0xE05C;
XtScancode["OSLeft"] = 0xE05B;
XtScancode["OSRight"] = 0xE05C;
XtScancode["ContextMenu"] = 0xE05D;