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
Loading
Please register or sign in to comment