summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/KeybindManager.hpp')
-rw-r--r--src/managers/KeybindManager.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp
index 7b767d1a..2272aa8f 100644
--- a/src/managers/KeybindManager.hpp
+++ b/src/managers/KeybindManager.hpp
@@ -124,6 +124,7 @@ class CKeybindManager {
SP<CEventLoopTimer> m_longPressTimer;
SP<CEventLoopTimer> m_repeatKeyTimer;
+ uint32_t m_repeatKeyRate = 50;
uint32_t m_timeLastMs = 0;
uint32_t m_lastCode = 0;
@@ -135,7 +136,7 @@ class CKeybindManager {
CTimer m_scrollTimer;
- SDispatchResult handleKeybinds(const uint32_t, const SPressedKeyWithMods&, bool);
+ SDispatchResult handleKeybinds(const uint32_t, const SPressedKeyWithMods&, bool, SP<IKeyboard>);
std::set<xkb_keysym_t> m_mkKeys = {};
std::set<xkb_keysym_t> m_mkMods = {};