diff options
-rw-r--r-- | rootdir/system/usr/keylayout/gpio-keys.kl | 31 | ||||
-rw-r--r-- | rootdir/system/usr/keylayout/mhl-rcp.kl | 34 | ||||
-rw-r--r-- | rootdir/system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl | 4 | ||||
-rw-r--r-- | shinano.mk | 6 |
4 files changed, 75 insertions, 0 deletions
diff --git a/rootdir/system/usr/keylayout/gpio-keys.kl b/rootdir/system/usr/keylayout/gpio-keys.kl new file mode 100644 index 0000000..e654ad3 --- /dev/null +++ b/rootdir/system/usr/keylayout/gpio-keys.kl @@ -0,0 +1,31 @@ +# Copyright (c) 2012, Code Aurora Forum. All rights reserved. +# Copyright (C) 2013-2014 Sony Mobile Communications AB. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials provided +# with the distribution. +# * Neither the name of Code Aurora Forum, Inc. nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + +key 115 VOLUME_UP +key 114 VOLUME_DOWN +key 528 FOCUS +key 766 CAMERA diff --git a/rootdir/system/usr/keylayout/mhl-rcp.kl b/rootdir/system/usr/keylayout/mhl-rcp.kl new file mode 100644 index 0000000..69cadea --- /dev/null +++ b/rootdir/system/usr/keylayout/mhl-rcp.kl @@ -0,0 +1,34 @@ +# Copyright (C) 2013 Sony Mobile Communications AB. +# All rights, including trade secret rights, reserved. + +key 28 VENDOR_TV_CENTER +key 103 VENDOR_TV_UP +key 105 VENDOR_TV_LEFT +key 106 VENDOR_TV_RIGHT +key 108 VENDOR_TV_DOWN + + +key 119 MEDIA_PLAY_PAUSE +key 128 MEDIA_STOP + +key 139 VENDOR_TV_HOME + +key 158 MEDIA_PREVIOUS +key 159 MEDIA_NEXT + +key 164 MEDIA_PLAY_PAUSE +key 168 MEDIA_REWIND + +key 174 BACK + +key 207 MEDIA_PLAY_PAUSE +key 208 MEDIA_FAST_FORWARD + +key 357 MENU + +key 360 POWER + +key 398 PROG_RED +key 399 PROG_GREEN +key 400 PROG_YELLOW +key 401 PROG_BLUE 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 new file mode 100644 index 0000000..368f591 --- /dev/null +++ b/rootdir/system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl @@ -0,0 +1,4 @@ +key 226 HEADSETHOOK +key 257 VOLUME_UP +key 258 VOLUME_DOWN +key 259 VENDOR_1 @@ -101,6 +101,12 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ keystore.msm8974 +# Keylayout +PRODUCT_COPY_FILES += \ + $(COMMON_PATH)/rootdir/system/usr/keylayout/gpio-keys.kl:system/system/usr/keylayout/gpio-keys.kl \ + $(COMMON_PATH)/rootdir/system/usr/keylayout/mhl-rcp.kl:system/system/usr/keylayout/mhl-rcp.kl \ + $(COMMON_PATH)/rootdir/system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl:system/system/usr/keylayout/msm8974-taiko-mtp-snd-card_Button_Jack.kl + # NFC PRODUCT_PACKAGES += \ NfcNci \ |