commit | 124ea44d560da2390128d51c89fd4232b6186054 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Fri Oct 28 20:27:44 2022 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Wed Nov 16 15:27:55 2022 +0000 |
tree | c2bd491e70451d3cea2c377d73ce07876271414b | |
parent | 484d55ace1ea8f93f2e2be51285e1092ee5979a7 [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