|
Lagrange
|
Key/mouse shortcut. More...
#include <lagrange/ui/types/Keybinds.h>
Public Member Functions | |
| Keybind (ImGuiKey btn, const std::vector< ImGuiKey > &modifier_keys={}) | |
Public Attributes | |
| ImGuiKey | button = ImGuiKey_None |
| int | modifier_count = 0 |
| KeyState | previous_state = KeyState::NONE |
| KeyState | current_state = KeyState::NONE |
| std::array< ImGuiKey, 6 > | modifiers |
Key/mouse shortcut.
Stores main button, modifiers and current and previous state
| std::array<ImGuiKey, 6> modifiers |