diff options
| author | 2023-03-28 20:11:03 +0000 | |
|---|---|---|
| committer | 2023-03-28 20:11:03 +0000 | |
| commit | a2e66c94dba2c8dad4c30b5896881c2cec25582e (patch) | |
| tree | dac2aefd44206e5ec29d4597558d11a1f537fe49 /libs/input/InputEventLabels.cpp | |
| parent | fedaf918d50517fdff7ff7945ce032683c8e2b93 (diff) | |
| parent | 57680eb7c8a21ed28f359f9504eb000709a74d84 (diff) | |
Merge "[1/4] Add user customizable MACRO_x keys in frameworks" into udc-dev
Diffstat (limited to 'libs/input/InputEventLabels.cpp')
| -rw-r--r-- | libs/input/InputEventLabels.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/input/InputEventLabels.cpp b/libs/input/InputEventLabels.cpp index 4a19227694..f99a7d640e 100644 --- a/libs/input/InputEventLabels.cpp +++ b/libs/input/InputEventLabels.cpp @@ -343,7 +343,11 @@ namespace android { DEFINE_KEYCODE(STYLUS_BUTTON_SECONDARY), \ DEFINE_KEYCODE(STYLUS_BUTTON_TERTIARY), \ DEFINE_KEYCODE(STYLUS_BUTTON_TAIL), \ - DEFINE_KEYCODE(RECENT_APPS) + DEFINE_KEYCODE(RECENT_APPS), \ + DEFINE_KEYCODE(MACRO_1), \ + DEFINE_KEYCODE(MACRO_2), \ + DEFINE_KEYCODE(MACRO_3), \ + DEFINE_KEYCODE(MACRO_4) // NOTE: If you add a new axis here you must also add it to several other files. // Refer to frameworks/base/core/java/android/view/MotionEvent.java for the full list. |