From a1ec30ef2647fb7ee7ca1e0b8e089c42a082370c Mon Sep 17 00:00:00 2001 From: Yang Chuang Date: Fri, 10 Feb 2012 15:18:26 +0800 Subject: [PATCH] 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 KANA. Change-Id: I1474f0eb8971ed5d632822b1f9825c426f4817eb --- include/android/keycodes.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/android/keycodes.h b/include/android/keycodes.h index 8414ff6ea..65ccb8d66 100644 --- a/include/android/keycodes.h +++ b/include/android/keycodes.h @@ -254,6 +254,14 @@ enum { AKEYCODE_CALENDAR = 208, AKEYCODE_MUSIC = 209, AKEYCODE_CALCULATOR = 210, + AKEYCODE_ZENKAKU_HANKAKU = 211, + AKEYCODE_EISU = 212, + AKEYCODE_MUHENKAN = 213, + AKEYCODE_HENKAN = 214, + AKEYCODE_KATAKANA_HIRAGANA = 215, + AKEYCODE_YEN = 216, + AKEYCODE_RO = 217, + AKEYCODE_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.