commit | f9a412814bd05546598a7328558165dd24655516 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Tue Oct 25 17:15:50 2022 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Wed Nov 16 15:28:08 2022 +0000 |
tree | 324316a0bdacaf482f89c9e74ce2fe2927bfd273 | |
parent | e562696c7658102f63558be034a2fb7ab158840f [diff] |
Dynamically add STYLUS source for multi-touch devices Since we cannot tell definitively whether a multi-touch device that supports MT_TOOL_TYPE will ever report MT_TOOL_PEN, we default to configuring the source of such a device not not use SOURCE_STYLUS, and it to events dynamically if it ever produces a stylus event. Bug: 246991366 Test: atest inputflinger_tests Change-Id: I70cc15f8f354e3fc876024d194a6f320fabd6d2c