ProtectedkeyboardProtected Optional ReadonlykeyProtected ReadonlylayoutProtected ReadonlylayoutProtectedgetOptionalshift: booleanProtectedshouldProtectedtransformProtectedtransformProtectedupdateCalled when a KeyboardEvent is processed by the KeybindingRegistry. The KeyValidator may trigger a keyboard layout change.
Return the character shown on the user's keyboard for the given key. Use this to determine UI representations of keybindings.