InputManager: add config option to disable keybinds per device (#10064)

This commit is contained in:
nyx 2025-04-16 20:19:10 -04:00 committed by GitHub
parent 3fa6320a39
commit 225e13c3cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 4 deletions

View file

@ -74,8 +74,9 @@ class IKeyboard : public IHID {
void updateXkbStateWithKey(uint32_t xkbKey, bool pressed);
void updateKeymapFD();
bool active = false;
bool enabled = true;
bool active = false;
bool enabled = true;
bool allowBinds = true;
// if the keymap is overridden by the implementation,
// don't try to set keyboard rules anymore, to avoid overwriting the requested one.