|
MōBrowser API
|
A combination of a key code and modifier keys, such as Shift, Alt, etc.
More...
#include <shortcut.hpp>
Public Member Functions | |
| Shortcut (KeyCode key=KeyCode::UNKNOWN, int32_t modifiers=0) | |
Public Attributes | |
| KeyCode | key = KeyCode::UNKNOWN |
| int32_t | modifiers |
A combination of a key code and modifier keys, such as Shift, Alt, etc.
This structure is used to define keyboard shortcuts. For example, to create a shortcut that corresponds to Command+Shift+P on macOS and Control+Shift+P on other platforms, you would use: