vkeyboard: update cached mods before IME; add share_states = 2 config option (#11720)
This commit is contained in:
parent
6a88f2e880
commit
838439080a
6 changed files with 28 additions and 10 deletions
|
|
@ -79,6 +79,7 @@ class IKeyboard : public IHID {
|
|||
void updateKeymapFD();
|
||||
bool getPressed(uint32_t key);
|
||||
bool shareStates();
|
||||
void setShareStatesAuto(bool shareStates);
|
||||
|
||||
bool m_active = false;
|
||||
bool m_enabled = true;
|
||||
|
|
@ -131,5 +132,6 @@ class IKeyboard : public IHID {
|
|||
|
||||
protected:
|
||||
bool updatePressed(uint32_t key, bool pressed);
|
||||
bool m_shareStates = true;
|
||||
bool m_shareStates = true;
|
||||
bool m_shareStatesAuto = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue