Skip to content

Commit a971ebf

Browse files
GuaiYiHuSebita
authored andcommitted
lavender: keylayout: Map Button Jack keylayout to fix headset button controls
* input: sdm660-snd-card Button Jack as /devices/soc/soc:sound/sound/card0/input8 Change-Id: I26b4f9dd54856e4b43b9c79c81873641c7b7082b Signed-off-by: Sebita <[email protected]>
1 parent 8bda1e9 commit a971ebf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# xuke @ 20160104 Import MIUI patch for headset buttons.
2-
3-
key 226 HEADSETHOOK WAKE
4-
key 257 MEDIA_PREVIOUS WAKE
5-
key 258 MEDIA_NEXT WAKE
1+
key 226 HEADSETHOOK
2+
key 257 VOLUME_UP
3+
key 258 VOLUME_DOWN

0 commit comments

Comments
 (0)