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

Commit 6b4e02f1 authored by Tim Kilbourn's avatar Tim Kilbourn
Browse files

Add KEYCODE_PAIRING.

Used for initiating a peripheral pairing mode.

Change-Id: I7e8439d27491ccc72d045cabf5751a35b9113aa7
parent d924ee8b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -268,6 +268,7 @@ enum {
    AKEYCODE_MEDIA_AUDIO_TRACK = 222,
    AKEYCODE_SLEEP           = 223,
    AKEYCODE_WAKEUP          = 224,
    AKEYCODE_PAIRING         = 225,

    // 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.
+1 −0
Original line number Diff line number Diff line
@@ -264,6 +264,7 @@ static const InputEventLabel KEYCODES[] = {
    DEFINE_KEYCODE(MEDIA_AUDIO_TRACK),
    DEFINE_KEYCODE(SLEEP),
    DEFINE_KEYCODE(WAKEUP),
    DEFINE_KEYCODE(PAIRING),

    { NULL, 0 }
};