Add KEYCODE_PAIRING.

Used for initiating a peripheral pairing mode.

Change-Id: I7e8439d27491ccc72d045cabf5751a35b9113aa7
This commit is contained in:
Tim Kilbourn 2014-04-14 15:37:20 -07:00
parent d924ee8b03
commit 6b4e02f1cb
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -264,6 +264,7 @@ static const InputEventLabel KEYCODES[] = {
DEFINE_KEYCODE(MEDIA_AUDIO_TRACK),
DEFINE_KEYCODE(SLEEP),
DEFINE_KEYCODE(WAKEUP),
DEFINE_KEYCODE(PAIRING),
{ NULL, 0 }
};