summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-10-28 20:27:44 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-11-16 15:27:55 +0000
commit124ea44d560da2390128d51c89fd4232b6186054 (patch)
treec2bd491e70451d3cea2c377d73ce07876271414b /libs/input/KeyLayoutMap.cpp
parent484d55ace1ea8f93f2e2be51285e1092ee5979a7 (diff)
Ensure stylus buttons generate events consistently
Add tests to verify that a touchscreen stylus and fused/unfused external styluses generate button events consistently. Make changes in TouchInputMapper to enforce consistentcy for external stylus buttons. In particular, we allow the external stylus's button state to be applied to the touches even when there is no fusion in progress. Bug: 246394583 Test: atest inputflinger_tests Change-Id: I645481db18e1bec8b61d8309aa4f02afcf1a5383
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions