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
This commit is contained in:
Nimrod Gileadi
2017-02-01 12:12:00 +00:00
parent c800ddc824
commit 119a06ce55

View File

@@ -123,3 +123,9 @@ key 165 MEDIA_PREVIOUS
key 166 MEDIA_STOP key 166 MEDIA_STOP
key 167 MEDIA_RECORD key 167 MEDIA_RECORD
key 168 MEDIA_REWIND key 168 MEDIA_REWIND
key 142 SLEEP
key 581 STEM_PRIMARY
key 582 STEM_1
key 583 STEM_2
key 584 STEM_3