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
|
|
@ -447,3 +447,8 @@ bool IKeyboard::getPressed(uint32_t key) {
|
|||
bool IKeyboard::shareStates() {
|
||||
return m_shareStates;
|
||||
}
|
||||
|
||||
void IKeyboard::setShareStatesAuto(bool shareStates) {
|
||||
if (m_shareStatesAuto)
|
||||
m_shareStates = shareStates;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue