From 4c3b0f348ec6e8687a6bd490e468e8c63e7ae983 Mon Sep 17 00:00:00 2001 From: Swan_Wang Date: Thu, 12 Nov 2009 14:14:24 +0800 Subject: [PATCH] add surport for the key between SHIFT_LEFT and KEY_Z in some keyboards --- api/current.xml | 11 +++++++++++ core/java/android/view/KeyEvent.java | 3 ++- core/res/res/values/attrs.xml | 1 + include/ui/KeycodeLabels.h | 2 ++ 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/api/current.xml b/api/current.xml index 14f99f8176bf..3af9900acf32 100644 --- a/api/current.xml +++ b/api/current.xml @@ -169626,6 +169626,17 @@ visibility="public" > + + + diff --git a/include/ui/KeycodeLabels.h b/include/ui/KeycodeLabels.h index b06cbf8f2a5c..73f77f79ce0a 100644 --- a/include/ui/KeycodeLabels.h +++ b/include/ui/KeycodeLabels.h @@ -122,6 +122,7 @@ static const KeycodeLabel KEYCODES[] = { { "CTRL_RIGHT", 97}, { "CTRL_LEFT", 98}, { "CAPS_LOCK", 99}, + { "MORE_KEY", 100}, // NOTE: If you add a new keycode here you must also add it to: // (enum KeyCode, in this file) @@ -235,6 +236,7 @@ typedef enum KeyCode { kKeyCodeCtrlRight = 97, kKeyCodeCtrlLeft = 98, kKeyCodeCapsLock = 99, + kKeyCodeMoreKey = 100, } KeyCode; static const KeycodeLabel FLAGS[] = { -- 2.11.0