summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nimrod Gileadi <nimrod@google.com> 2017-02-01 12:12:00 +0000
committer Nimrod Gileadi <nimrod@google.com> 2017-02-01 12:13:12 +0000
commit119a06ce55ce584e4735ceb8eb1315b65b7054aa (patch)
treee0f9842d513c1e5c14222c42b1d16bf92a20de37
parentc800ddc824256cea4142ac2530b0489e4f816201 (diff)
Add Wear keycodes to emulator key layout file.
The SLEEP keycode is used by Android Wear to indicate a "palming" gesture (covering the screen with one's hand). The STEM_* buttons are used for side buttons on Wear. The keycode values were added to the emulator in http://r.android.com/330771 Bug: 19996432 Change-Id: Ib90c3b27209b0059ebc1c2cce46cc732a677d557
-rw-r--r--data/keyboards/qwerty.kl6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/keyboards/qwerty.kl b/data/keyboards/qwerty.kl
index 41860076e0e4..2fd99abbb9fe 100644
--- a/data/keyboards/qwerty.kl
+++ b/data/keyboards/qwerty.kl
@@ -123,3 +123,9 @@ key 165 MEDIA_PREVIOUS
key 166 MEDIA_STOP
key 167 MEDIA_RECORD
key 168 MEDIA_REWIND
+
+key 142 SLEEP
+key 581 STEM_PRIMARY
+key 582 STEM_1
+key 583 STEM_2
+key 584 STEM_3