input: support xkb v2 format (#11482)
This commit is contained in:
parent
c7b9969129
commit
38169c8fdd
8 changed files with 62 additions and 28 deletions
|
|
@ -1108,7 +1108,6 @@ void CInputManager::applyConfigToKeyboard(SP<IKeyboard> pKeyboard) {
|
|||
pKeyboard->m_repeatDelay = std::max(0, REPEATDELAY);
|
||||
pKeyboard->m_numlockOn = NUMLOCKON;
|
||||
pKeyboard->m_xkbFilePath = FILEPATH;
|
||||
|
||||
pKeyboard->setKeymap(IKeyboard::SStringRuleNames{LAYOUT, MODEL, VARIANT, OPTIONS, RULES});
|
||||
|
||||
const auto LAYOUTSTR = pKeyboard->getActiveLayout();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue