Hardware keyboard: codegen (#73440)

Rewrites tools/gen_keycodes, the script that generates key mappings across the framework and the engine.
This commit is contained in:
Tong Mu
2021-04-30 21:06:03 -07:00
committed by GitHub
parent 0cb0767bd7
commit 9956a35a5a
65 changed files with 23391 additions and 14836 deletions

View File

@@ -0,0 +1,6 @@
{
"SHIFT": ["ShiftLeft", "ShiftLeft", "ShiftRight"],
"CONTROL": ["ControlLeft", "ControlLeft", "ControlRight"],
"MOD1": ["AltLeft", "AltLeft", "AltRight"],
"META": ["MetaLeft", "MetaLeft", "MetaRight"]
}