Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a81376b0 authored by Vaibhav Devmurari's avatar Vaibhav Devmurari
Browse files

Allow metaState changes from keys not declared by the keyboard

Due to modifier remapping feature and Alt+Meta = CapsLock shortcut,
it is possible to change modifier state without there being an
actual key that generates the corresponding modifier keycode.

This is mainly affecting keyboards that declare the keys correctly
in their HID descriptor. Currently, only allowing this for
modifier keys since we only allow remapping those. We might need to
update hasKeycode API for  more software key remappings or dynamic
remapping key combinations like Meta+Backspace = Back.

Test: manual
Bug: 368397939
Flag: EXEMPT bugfix

Change-Id: I64cde5b0c9870167cfc9488f6c622c4ec07b5736
parent 3aeff205
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment