diff options
| author | 2020-08-13 16:12:54 -0700 | |
|---|---|---|
| committer | 2020-08-14 09:03:58 -0700 | |
| commit | fff9edb2c1975f0983ee1b17d918949b4a43a753 (patch) | |
| tree | 2fe0ef0a2596022d2482b3a5c1ad6622e91361a1 /libs/input/KeyLayoutMap.cpp | |
| 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
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions