Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c337cf7 authored by Steve Kondik's avatar Steve Kondik
Browse files

Additional keycodes for Vision.

Change-Id: Ia23ec2da6560945ae31632197a0b8d032cb8abed
parent 631e9599
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -341,6 +341,11 @@ public class KeyEvent extends InputEvent implements Parcelable {
    public static final int KEYCODE_FUNC_7          = 98;
    public static final int KEYCODE_FUNC_8          = 99;
    public static final int KEYCODE_QUECHAR         = 100;
    public static final int KEYCODE_USER1           = 101;
    public static final int KEYCODE_USER2           = 102;
    public static final int KEYCODE_USER3           = 103;
    public static final int KEYCODE_USER4           = 104;
    public static final int KEYCODE_USER5           = 105;

    // NOTE: If you add a new keycode here you must also add it to:
    //  isSystem()
+6 −1
Original line number Diff line number Diff line
@@ -962,6 +962,11 @@
        <enum name="KEYCODE_FUNC_7" value="98" />
        <enum name="KEYCODE_FUNC_8" value="99" />
        <enum name="KEYCODE_QUECHAR" value="100" />
        <enum name="KEYCODE_USER1" value="101" />
        <enum name="KEYCODE_USER2" value="102" />
        <enum name="KEYCODE_USER3" value="103" />
        <enum name="KEYCODE_USER4" value="104" />
        <enum name="KEYCODE_USER5" value="105" />
    </attr>

    <!-- ***************************************************************** -->
+5 −0
Original line number Diff line number Diff line
@@ -144,6 +144,11 @@ static const KeycodeLabel KEYCODES[] = {
    { "FUNC_7", 98 },
    { "FUNC_8", 99 },
    { "QUECHAR", 100 },
    { "USER1", 101 },
    { "USER2", 102 },
    { "USER3", 103 },
    { "USER4", 104 },
    { "USER5", 105 },

    // 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.