From 62a7d6ec86688238836f52f6a51a83dff51c1716 Mon Sep 17 00:00:00 2001 From: xkeita Date: Sun, 14 May 2017 20:03:20 +0000 Subject: shinano: buttons: Fix headset buttons layout At the moment only Volume + worked but it lowers down the volume. This fix restores complete functionality of the in-line headset buttons (+ volume, - volume, play/pause button) Change-Id: I0cfdd38dcb1028b64efaff0cc53dec8da830c6b3 --- .../system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rootdir') diff --git a/rootdir/system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl b/rootdir/system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl index b376b2d..550ca30 100644 --- a/rootdir/system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl +++ b/rootdir/system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl @@ -1,4 +1,4 @@ key 226 HEADSETHOOK -key 257 VOLUME_UP -key 258 VOLUME_DOWN -key 259 HEADSETHOOK +key 258 VOLUME_UP +key 259 VOLUME_DOWN +key 260 HEADSETHOOK \ No newline at end of file -- cgit v1.2.3