Add additional ways to recognize an external stylus
Recognize a keyboard device as an external stylus if it can produce any of the stylus key codes. Additionally, add the ability to configure an input device as an external stylus using an IDC file. This will be necessary to classify external styluses that report buttons as custom HID usages, since we don't have a way to tell which HID usages a device supports from userspace yet. Bug: 246394583 Test: atest inputflinger_tests Test: manual, with a Lenovo Precision Pen 3 Change-Id: Ief22aac9537cd168dd43d2a9d63bc0a65f6ba3dc
Loading
Please register or sign in to comment