summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTim Kilbourn <tkilbourn@google.com>2014-04-14 15:37:20 -0700
committerTim Kilbourn <tkilbourn@google.com>2014-05-16 15:36:11 -0700
commit6b4e02f1cbdc55126cae9d2ce588640a784e7d61 (patch)
treec68746f854ec4c36e81e641d606186962e93901d /include
parentd924ee8b03e0c0b056b9a9c6ce2b06938c7e7b1a (diff)
downloadframeworks_native-6b4e02f1cbdc55126cae9d2ce588640a784e7d61.zip
frameworks_native-6b4e02f1cbdc55126cae9d2ce588640a784e7d61.tar.gz
frameworks_native-6b4e02f1cbdc55126cae9d2ce588640a784e7d61.tar.bz2
Add KEYCODE_PAIRING.
Used for initiating a peripheral pairing mode. Change-Id: I7e8439d27491ccc72d045cabf5751a35b9113aa7
Diffstat (limited to 'include')
-rw-r--r--include/android/keycodes.h1
-rw-r--r--include/input/InputEventLabels.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/android/keycodes.h b/include/android/keycodes.h
index b6a5f4c..a2f01a4 100644
--- a/include/android/keycodes.h
+++ b/include/android/keycodes.h
@@ -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.
diff --git a/include/input/InputEventLabels.h b/include/input/InputEventLabels.h
index c6eef9b..36be4fc 100644
--- a/include/input/InputEventLabels.h
+++ b/include/input/InputEventLabels.h
@@ -264,6 +264,7 @@ static const InputEventLabel KEYCODES[] = {
DEFINE_KEYCODE(MEDIA_AUDIO_TRACK),
DEFINE_KEYCODE(SLEEP),
DEFINE_KEYCODE(WAKEUP),
+ DEFINE_KEYCODE(PAIRING),
{ NULL, 0 }
};