summaryrefslogtreecommitdiff
path: root/libs/input/InputEventLabels.cpp
diff options
context:
space:
mode:
author Vaibhav Devmurari <vdevmurari@google.com> 2024-01-24 21:41:12 +0000
committer Vaibhav Devmurari <vdevmurari@google.com> 2024-01-30 12:17:54 +0000
commitf14b37a878bdefe924db5e99dd124f0ea8e5ffa2 (patch)
treef9d839d080dc51712ba9a56ce986dcec9e67c2a5 /libs/input/InputEventLabels.cpp
parent1b685dd3b6373ba55be1c57c672a22533e16664d (diff)
Add native side keycodes for emoji and screenshot
Bug: 315307777 Test: manual Change-Id: I737a7418f43afac4735bb1a5523713890f4df553
Diffstat (limited to 'libs/input/InputEventLabels.cpp')
-rw-r--r--libs/input/InputEventLabels.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/input/InputEventLabels.cpp b/libs/input/InputEventLabels.cpp
index 0e627e56fd..8db0ca588b 100644
--- a/libs/input/InputEventLabels.cpp
+++ b/libs/input/InputEventLabels.cpp
@@ -348,7 +348,9 @@ namespace android {
DEFINE_KEYCODE(MACRO_1), \
DEFINE_KEYCODE(MACRO_2), \
DEFINE_KEYCODE(MACRO_3), \
- DEFINE_KEYCODE(MACRO_4)
+ DEFINE_KEYCODE(MACRO_4), \
+ DEFINE_KEYCODE(EMOJI_PICKER), \
+ DEFINE_KEYCODE(SCREENSHOT)
// 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.