mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix key codes
This commit is contained in:
parent
aa1fedcb24
commit
0fc847fa59
@ -6,12 +6,12 @@ const keyMap: Record<string, number> = {
|
|||||||
'ShiftRight': 0xFFE2,
|
'ShiftRight': 0xFFE2,
|
||||||
'ControlLeft': 0xFFE3,
|
'ControlLeft': 0xFFE3,
|
||||||
'ControlRight': 0xFFE4,
|
'ControlRight': 0xFFE4,
|
||||||
'AltLeft': 0xFFE9, // 2 keys - one code?
|
'AltLeft': 0xFFE9,
|
||||||
'AltRight': 0xFFE9, // 2 keys - one code?
|
'AltRight': 0xFFEA,
|
||||||
'MetaLeft': 0xFFEB, // Super key, or Meta key?
|
'MetaLeft': 0xFFEB, // Super key, or Meta key?
|
||||||
'MetaRight': 0xFF67, // Super key, or Meta key?
|
'MetaRight': 0xFFEC, // Super key, or Meta key?
|
||||||
//'PrintScreen': ,
|
'PrintScreen': 0xFF61,
|
||||||
//'ContextMenu': ,
|
'ContextMenu': 0xFF67,
|
||||||
'Pause': 0xFF13,
|
'Pause': 0xFF13,
|
||||||
'CapsLock': 0xFFE5,
|
'CapsLock': 0xFFE5,
|
||||||
'Escape': 0xFF1B,
|
'Escape': 0xFF1B,
|
||||||
|
Loading…
Reference in New Issue
Block a user