This adds support for binding to physical keys through KeyboardEvent.code.
Old bindings will still work; this is backwards-compatible. With this change,
you can bind to key codes like KeyW, KeyA, KeyS, KeyD and have them
work correctly regardless of keyboard layout.
This adds support for binding to physical keys through KeyboardEvent.code.
Old bindings will still work; this is backwards-compatible. With this change, you can bind to key codes like
KeyW
,KeyA
,KeyS
,KeyD
and have them work correctly regardless of keyboard layout.