summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.hpp
diff options
context:
space:
mode:
authorMoritz G <100203892+Moerliy@users.noreply.github.com>2024-06-11 19:49:54 +0200
committerGitHub <noreply@github.com>2024-06-11 19:49:54 +0200
commite1b05f8eafd8cd3e7e9197fa1db92391174b9206 (patch)
treed8655934668766dd4a19ac71ebd92a04334cdf24 /src/managers/KeybindManager.hpp
parent21b9e31bf432e3d58f408b83e7dd15b653b49494 (diff)
binds: Add description to key binds (#6358)
--------- Co-authored-by: Yusuf Duran <firatyusuf.d@gmail.com>
Diffstat (limited to 'src/managers/KeybindManager.hpp')
-rw-r--r--src/managers/KeybindManager.hpp36
1 files changed, 19 insertions, 17 deletions
diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp
index 305e563f..ecab6ee1 100644
--- a/src/managers/KeybindManager.hpp
+++ b/src/managers/KeybindManager.hpp
@@ -14,23 +14,25 @@ class CPluginSystem;
class IKeyboard;
struct SKeybind {
- std::string key = "";
- std::set<xkb_keysym_t> sMkKeys = {};
- uint32_t keycode = 0;
- bool catchAll = false;
- uint32_t modmask = 0;
- std::set<xkb_keysym_t> sMkMods = {};
- std::string handler = "";
- std::string arg = "";
- bool locked = false;
- std::string submap = "";
- bool release = false;
- bool repeat = false;
- bool mouse = false;
- bool nonConsuming = false;
- bool transparent = false;
- bool ignoreMods = false;
- bool multiKey = false;
+ std::string key = "";
+ std::set<xkb_keysym_t> sMkKeys = {};
+ uint32_t keycode = 0;
+ bool catchAll = false;
+ uint32_t modmask = 0;
+ std::set<xkb_keysym_t> sMkMods = {};
+ std::string handler = "";
+ std::string arg = "";
+ bool locked = false;
+ std::string submap = "";
+ std::string description = "";
+ bool release = false;
+ bool repeat = false;
+ bool mouse = false;
+ bool nonConsuming = false;
+ bool transparent = false;
+ bool ignoreMods = false;
+ bool multiKey = false;
+ bool hasDescription = false;
// DO NOT INITIALIZE
bool shadowed = false;