Loading core/java/android/view/KeyEvent.java +10 −0 Original line number Diff line number Diff line Loading @@ -332,6 +332,16 @@ public class KeyEvent extends InputEvent implements Parcelable { * On a game controller, the button labeled Mode. */ public static final int KEYCODE_BUTTON_MODE = 110; public static final int KEYCODE_FUNC_1 = 92; public static final int KEYCODE_FUNC_2 = 93; public static final int KEYCODE_FUNC_3 = 94; public static final int KEYCODE_FUNC_4 = 95; public static final int KEYCODE_FUNC_5 = 96; public static final int KEYCODE_FUNC_6 = 97; public static final int KEYCODE_FUNC_7 = 98; public static final int KEYCODE_FUNC_8 = 99; public static final int KEYCODE_QUECHAR = 100; // NOTE: If you add a new keycode here you must also add it to: // isSystem() // native/include/android/keycodes.h Loading core/res/res/values/attrs.xml +9 −0 Original line number Diff line number Diff line Loading @@ -953,6 +953,15 @@ <enum name="KEYCODE_BUTTON_START" value="108" /> <enum name="KEYCODE_BUTTON_SELECT" value="109" /> <enum name="KEYCODE_BUTTON_MODE" value="110" /> <enum name="KEYCODE_FUNC_1" value="92" /> <enum name="KEYCODE_FUNC_2" value="93" /> <enum name="KEYCODE_FUNC_3" value="94" /> <enum name="KEYCODE_FUNC_4" value="95" /> <enum name="KEYCODE_FUNC_5" value="96" /> <enum name="KEYCODE_FUNC_6" value="97" /> <enum name="KEYCODE_FUNC_7" value="98" /> <enum name="KEYCODE_FUNC_8" value="99" /> <enum name="KEYCODE_QUECHAR" value="100" /> </attr> <!-- ***************************************************************** --> Loading include/ui/KeycodeLabels.h +9 −0 Original line number Diff line number Diff line Loading @@ -135,6 +135,15 @@ static const KeycodeLabel KEYCODES[] = { { "BUTTON_START", 108 }, { "BUTTON_SELECT", 109 }, { "BUTTON_MODE", 110 }, { "FUNC_1", 92 }, { "FUNC_2", 93 }, { "FUNC_3", 94 }, { "FUNC_4", 95 }, { "FUNC_5", 96 }, { "FUNC_6", 97 }, { "FUNC_7", 98 }, { "FUNC_8", 99 }, { "QUECHAR", 100 }, // 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. Loading Loading
core/java/android/view/KeyEvent.java +10 −0 Original line number Diff line number Diff line Loading @@ -332,6 +332,16 @@ public class KeyEvent extends InputEvent implements Parcelable { * On a game controller, the button labeled Mode. */ public static final int KEYCODE_BUTTON_MODE = 110; public static final int KEYCODE_FUNC_1 = 92; public static final int KEYCODE_FUNC_2 = 93; public static final int KEYCODE_FUNC_3 = 94; public static final int KEYCODE_FUNC_4 = 95; public static final int KEYCODE_FUNC_5 = 96; public static final int KEYCODE_FUNC_6 = 97; public static final int KEYCODE_FUNC_7 = 98; public static final int KEYCODE_FUNC_8 = 99; public static final int KEYCODE_QUECHAR = 100; // NOTE: If you add a new keycode here you must also add it to: // isSystem() // native/include/android/keycodes.h Loading
core/res/res/values/attrs.xml +9 −0 Original line number Diff line number Diff line Loading @@ -953,6 +953,15 @@ <enum name="KEYCODE_BUTTON_START" value="108" /> <enum name="KEYCODE_BUTTON_SELECT" value="109" /> <enum name="KEYCODE_BUTTON_MODE" value="110" /> <enum name="KEYCODE_FUNC_1" value="92" /> <enum name="KEYCODE_FUNC_2" value="93" /> <enum name="KEYCODE_FUNC_3" value="94" /> <enum name="KEYCODE_FUNC_4" value="95" /> <enum name="KEYCODE_FUNC_5" value="96" /> <enum name="KEYCODE_FUNC_6" value="97" /> <enum name="KEYCODE_FUNC_7" value="98" /> <enum name="KEYCODE_FUNC_8" value="99" /> <enum name="KEYCODE_QUECHAR" value="100" /> </attr> <!-- ***************************************************************** --> Loading
include/ui/KeycodeLabels.h +9 −0 Original line number Diff line number Diff line Loading @@ -135,6 +135,15 @@ static const KeycodeLabel KEYCODES[] = { { "BUTTON_START", 108 }, { "BUTTON_SELECT", 109 }, { "BUTTON_MODE", 110 }, { "FUNC_1", 92 }, { "FUNC_2", 93 }, { "FUNC_3", 94 }, { "FUNC_4", 95 }, { "FUNC_5", 96 }, { "FUNC_6", 97 }, { "FUNC_7", 98 }, { "FUNC_8", 99 }, { "QUECHAR", 100 }, // 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. Loading