From 119a06ce55ce584e4735ceb8eb1315b65b7054aa Mon Sep 17 00:00:00 2001 From: Nimrod Gileadi Date: Wed, 1 Feb 2017 12:12:00 +0000 Subject: [PATCH] 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 --- data/keyboards/qwerty.kl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/keyboards/qwerty.kl b/data/keyboards/qwerty.kl index 41860076e0e47..2fd99abbb9fe5 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