commit | fff9edb2c1975f0983ee1b17d918949b4a43a753 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Thu Aug 13 16:12:54 2020 -0700 |
committer | Chris Ye <lzye@google.com> | Fri Aug 14 09:03:58 2020 -0700 |
tree | 2fe0ef0a2596022d2482b3a5c1ad6622e91361a1 | |
parent | 3b2e768ffb7ef0efc526bf03214e065ac9e519c9 [diff] |
libinput : Accelerate key label lookup. Add a map from key label to keycode, to avoid looping through all key names, and returns with O(log n) time complexity. Bug: 160010896 Test: atest inputflinger, atest libinput_tests Change-Id: I53c79421400e3e439172682969cbe185e8014a5a