input: disallow virtual keyboards from changing LED state (#10402)
This commit is contained in:
parent
59b2340680
commit
a51e639d81
1 changed files with 1 additions and 1 deletions
|
|
@ -1368,7 +1368,7 @@ void CInputManager::destroyTabletPad(SP<CTabletPad> pad) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void CInputManager::updateKeyboardsLeds(SP<IKeyboard> pKeyboard) {
|
void CInputManager::updateKeyboardsLeds(SP<IKeyboard> pKeyboard) {
|
||||||
if (!pKeyboard)
|
if (!pKeyboard || pKeyboard->isVirtual())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
std::optional<uint32_t> leds = pKeyboard->getLEDs();
|
std::optional<uint32_t> leds = pKeyboard->getLEDs();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue