summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-10-14 18:06:50 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-10-27 18:11:53 +0000
commite1a41a84725af9321ee12dabd1b14310dd70ac89 (patch)
treeb6b18ecb83bf638322fd46054660f8dfbf04ec3a /libs/gui/BLASTBufferQueue.cpp
parent2197cb4c1bf6ec84ceccc79ae20b690f214acc34 (diff)
Generate key events for stylus button presses
Ensure all devices that report stylus buttons are categorized as a keyboard. This means that KeyboardInputMapper will get a chance to handle the events from these devices. Then, we allow KeyboardInputMapper to process stylus button events. Since stylus button (e.g. BTN_STYLUS) are mapped to Android key codes in the Generic.kl file, KeyEvents with the appropriate key codes will be generated for these button presses. Bug: 246394583 Test: atest inputflinger_tests Change-Id: I92d4a60f23f98f9d239edf1f4dd400e6e528e350
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions