Const
Normalized string representations for specific KeyboardEvent.key values (e.g. " " → "space", "Control" → "ctrl", "Escape" → "esc", "ArrowUp" → "arrow_up").
" "
"space"
"Control"
"ctrl"
"Escape"
"esc"
"ArrowUp"
"arrow_up"
Using this enum is optional — raw KeyboardEvent.key values are also accepted and normalized internally. The enum is a convenience for readability, especially when constructing key arrays manually without a real keyboard event.
Normalized string representations for specific KeyboardEvent.key values (e.g.
" "→"space","Control"→"ctrl","Escape"→"esc","ArrowUp"→"arrow_up").Using this enum is optional — raw KeyboardEvent.key values are also accepted and normalized internally. The enum is a convenience for readability, especially when constructing key arrays manually without a real keyboard event.