OSDN Git Service

Add KEYCODE_PAIRING.
authorTim Kilbourn <tkilbourn@google.com>
Mon, 14 Apr 2014 22:37:20 +0000 (15:37 -0700)
committerTim Kilbourn <tkilbourn@google.com>
Fri, 16 May 2014 22:36:11 +0000 (15:36 -0700)
Used for initiating a peripheral pairing mode.

Change-Id: I7e8439d27491ccc72d045cabf5751a35b9113aa7

include/android/keycodes.h
include/input/InputEventLabels.h

index b6a5f4c..a2f01a4 100644 (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.
index c6eef9b..36be4fc 100644 (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 }
 };