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:
parent
ac33960368
commit
7c1b2bac90
|
@ -110,8 +110,10 @@ var XtScancode = {
|
||||||
"PageDown": 0xE051,
|
"PageDown": 0xE051,
|
||||||
"Insert": 0xE052,
|
"Insert": 0xE052,
|
||||||
"Delete": 0xE053,
|
"Delete": 0xE053,
|
||||||
"OSLeft": 0xE05B,
|
"MetaLeft": 0xE05B,
|
||||||
"OSRight": 0xE05C,
|
"MetaRight": 0xE05C,
|
||||||
|
"OSLeft": 0xE05B, // OSLeft and OSRight are kept for compatability since
|
||||||
|
"OSRight": 0xE05C, // Firefox haven't updated to MetaLeft and MetaRight yet
|
||||||
"ContextMenu": 0xE05D,
|
"ContextMenu": 0xE05D,
|
||||||
"BrowserSearch": 0xE065,
|
"BrowserSearch": 0xE065,
|
||||||
"BrowserFavorites": 0xE066,
|
"BrowserFavorites": 0xE066,
|
||||||
|
|
Loading…
Reference in New Issue