KeyboardShortcut
data class KeyboardShortcut(val key: Key, val ctrl: Boolean = false, val shift: Boolean = false, val alt: Boolean = false, val system: Boolean = false)
Represents a keyboard shortcut for menu actions.
Example:
Ctrl+S
Ctrl+Shift+S
Alt+F
The system modifier maps to the platform-specific system key (e.g. Command on macOS, Windows/Super on Windows and Linux).