summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Vaibhav Devmurari <vdevmurari@google.com> 2024-09-25 10:14:21 +0000
committer Vaibhav Devmurari <vdevmurari@google.com> 2024-09-25 10:28:05 +0000
commita81376b0d20b45a220ebfca9a6995607d824be69 (patch)
tree24113f5b9cd00263aa5d72dd686949d404ff27b0 /libs/gui/LayerState.cpp
parent3aeff205e1917b2646dc0b7a86c0fe6a2e37826f (diff)
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
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions