permissions: add permission management for keyboards (#10367)
This commit is contained in:
parent
44cb8f769e
commit
158c0f2911
5 changed files with 48 additions and 12 deletions
|
|
@ -78,6 +78,9 @@ class IKeyboard : public IHID {
|
|||
bool m_enabled = true;
|
||||
bool m_allowBinds = true;
|
||||
|
||||
// permission flag: whether this keyboard is allowed to be processed
|
||||
bool m_allowed = true;
|
||||
|
||||
// if the keymap is overridden by the implementation,
|
||||
// don't try to set keyboard rules anymore, to avoid overwriting the requested one.
|
||||
// e.g. Virtual keyboards with custom maps.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue