diff options
-rw-r--r-- | include/android/keycodes.h | 4 | ||||
-rw-r--r-- | include/input/InputEventLabels.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/android/keycodes.h b/include/android/keycodes.h index 2164d6163e..59d67f35f2 100644 --- a/include/android/keycodes.h +++ b/include/android/keycodes.h @@ -767,7 +767,9 @@ enum { /** fingerprint navigation key, right. */ AKEYCODE_SYSTEM_NAVIGATION_RIGHT = 283, /** all apps */ - AKEYCODE_ALL_APPS = 284 + AKEYCODE_ALL_APPS = 284, + /** refresh key */ + AKEYCODE_REFRESH = 285 // NOTE: If you add a new keycode here you must also add it to several other files. // Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list. diff --git a/include/input/InputEventLabels.h b/include/input/InputEventLabels.h index c282cf0b22..4b33a96adf 100644 --- a/include/input/InputEventLabels.h +++ b/include/input/InputEventLabels.h @@ -324,6 +324,7 @@ static const InputEventLabel KEYCODES[] = { DEFINE_KEYCODE(SYSTEM_NAVIGATION_LEFT), DEFINE_KEYCODE(SYSTEM_NAVIGATION_RIGHT), DEFINE_KEYCODE(ALL_APPS), + DEFINE_KEYCODE(REFRESH), { NULL, 0 } }; |