Interface for keyboard events.
actionKey | Returns true if the platform-specific action key is pressed. This key is Cmd on macOS, and Ctrl on all other platforms. |
altKey | Return true if the Alt key is pressed. |
character | The character. |
commandKey | Return true if the Windows/Command key is pressed. |
ctrlKey | Return true if the Control key is pressed. |
keyCode | The key code. |
modifiers | Flag set holding the pressed modifier keys (Alt, Control, Shift, Windows/Command). |
shiftKey | Return true if the Shift key is pressed. |