summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2023-08-22 23:11:38 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-08-23 19:53:17 +0000
commit9982f5446744e15766fe6d085304ed71a5b82fb1 (patch)
tree2b8fb57101c34dbc439d6610f9fa8cc02325e1d6 /libs/input/PointerController.cpp
parenta9d53171535fdb6f992f37be1360afe230d4ce68 (diff)
Remove HID usage mapping for stylus buttons in Generic.kl
... until we figure out a way to determine if a device supports a specific HID usage code. Right now, having a usage code mapping means we automatically assume the device can report the key code. Assuming a device can support a stylus keycode makes the device get classified as a stylus, leading to widespread misclassifications. Bug: 291529805 Test: atest inputflinger_tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5fb192aaec7a1d4ebb1384d96b3f79d4b2ca2f2c) Merged-In: I580514bdcbbfbe93df83fa3faa6262077e881243 Change-Id: I580514bdcbbfbe93df83fa3faa6262077e881243
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions