summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author David Padlipsky <dpad@google.com> 2024-10-18 03:36:58 +0000
committer David Padlipsky <dpad@google.com> 2024-10-18 22:00:05 +0000
commit48fd8847327ac3e264619a12e58c698d3f37a384 (patch)
tree0bf1738eae334a2c58ac530f039306628f02901c /libs/gui/BLASTBufferQueue.cpp
parentc17f5671b3bf3faa1c547b44a4f57f1e5603791f (diff)
Skip processing repeat EV_KEY events for keyboards
Key repeat is handled by Android internally so we should not use the kernel level key repeat. Android attempts to disable key repeat by sending a EVIOCSREP ioctl call, however this does not work on all keyboards (namely any that use the atkbd driver) as [0, 0] are considered invalid configuration values for the driver. This functions in a similar way to the original intention in that it will discard all kernel level repeat EV_KEY events to allow the system level key-repeat to function correctly. Bug: b/374209729 Test: Manually with offending device Flag: EXEMPT bugfix Change-Id: I5219edcddfc2fdb420e5c3ef7ecc9b5c557e5c6a
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions