keybinds: allow repeating multiple binds (#8290)
This commit is contained in:
parent
cc923ad031
commit
6113f4da7f
2 changed files with 34 additions and 42 deletions
|
|
@ -102,8 +102,6 @@ class CKeybindManager {
|
|||
|
||||
std::unordered_map<std::string, std::function<SDispatchResult(std::string)>> m_mDispatchers;
|
||||
|
||||
wl_event_source* m_pActiveKeybindEventSource = nullptr;
|
||||
|
||||
bool m_bGroupsLocked = false;
|
||||
|
||||
std::list<SKeybind> m_lKeybinds;
|
||||
|
|
@ -121,8 +119,9 @@ class CKeybindManager {
|
|||
|
||||
inline static std::string m_szCurrentSelectedSubmap = "";
|
||||
|
||||
SKeybind * m_pActiveKeybind = nullptr, *m_pLastLongPressKeybind = nullptr;
|
||||
SP<CEventLoopTimer> m_pLongPressTimer;
|
||||
std::vector<SKeybind*> m_vActiveKeybinds;
|
||||
SKeybind* m_pLastLongPressKeybind = nullptr;
|
||||
SP<CEventLoopTimer> m_pLongPressTimer, m_pRepeatKeyTimer;
|
||||
|
||||
uint32_t m_uTimeLastMs = 0;
|
||||
uint32_t m_uLastCode = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue