summaryrefslogtreecommitdiffstats
path: root/include/androidfw
diff options
context:
space:
mode:
authorYang Chuang <Yang_Chuang@asus.com>2012-02-10 15:18:26 +0800
committerJeff Brown <jeffbrown@google.com>2012-04-02 15:19:45 -0700
commit7511f9cd2ff39075ff56c2558c785caffc8b4383 (patch)
tree25f1eeba677060cfdc52fb75ea58107c0591a8b2 /include/androidfw
parentd56feb91b4b1ac9cd0e9b37dfa20d137825fbbfd (diff)
downloadframeworks_base-7511f9cd2ff39075ff56c2558c785caffc8b4383.zip
frameworks_base-7511f9cd2ff39075ff56c2558c785caffc8b4383.tar.gz
frameworks_base-7511f9cd2ff39075ff56c2558c785caffc8b4383.tar.bz2
Add Japanese specific key codes.
These keys are specific to Japanese hardware keyboard which can be used by input method. Patch ported from AOSP, with the addition of EISU and KANA mappings. Change-Id: I647473cdd257458e3b9d134b0fc623eae946c3e0
Diffstat (limited to 'include/androidfw')
-rwxr-xr-xinclude/androidfw/KeycodeLabels.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/androidfw/KeycodeLabels.h b/include/androidfw/KeycodeLabels.h
index 9e4dfcb..1828062 100755
--- a/include/androidfw/KeycodeLabels.h
+++ b/include/androidfw/KeycodeLabels.h
@@ -235,6 +235,14 @@ static const KeycodeLabel KEYCODES[] = {
{ "CALENDAR", 208 },
{ "MUSIC", 209 },
{ "CALCULATOR", 210 },
+ { "ZENKAKU_HANKAKU", 211 },
+ { "EISU", 212 },
+ { "MUHENKAN", 213 },
+ { "HENKAN", 214 },
+ { "KATAKANA_HIRAGANA", 215 },
+ { "YEN", 216 },
+ { "RO", 217 },
+ { "KANA", 218 },
// 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.