Lagrange
Keybinds::Keybind Struct Reference

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
 

Detailed Description

Key/mouse shortcut.

Stores main button, modifiers and current and previous state

Member Data Documentation

◆ modifiers

std::array<ImGuiKey, 6> modifiers
Initial value:
= {
ImGuiKey_None,
ImGuiKey_None,
ImGuiKey_None,
ImGuiKey_None,
ImGuiKey_None,
ImGuiKey_None,
}

The documentation for this struct was generated from the following files: