Browse Source

msm8976-common: Add keylayout for sec_touchkey input device

changes/30/158230/1
LuK1337 6 years ago
parent
commit
a4c73ceebe
  1. 18
      keylayout/sec_touchkey.kl
  2. 1
      msm8976.mk

18
keylayout/sec_touchkey.kl

@ -0,0 +1,18 @@ @@ -0,0 +1,18 @@
#
# Copyright (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
key 158 BACK VIRTUAL
key 254 APP_SWITCH VIRTUAL

1
msm8976.mk

@ -163,6 +163,7 @@ PRODUCT_COPY_FILES += \ @@ -163,6 +163,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/ft5x06_ts.kl:system/usr/keylayout/ft5x06_ts.kl \
$(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
$(LOCAL_PATH)/keylayout/sec_touchkey.kl:system/usr/keylayout/sec_touchkey.kl \
$(LOCAL_PATH)/keylayout/synaptics_dsx.kl:system/usr/keylayout/synaptics_dsx.kl \
$(LOCAL_PATH)/keylayout/synaptics_rmi4_i2c.kl:system/usr/keylayout/synaptics_rmi4_i2c.kl

Loading…
Cancel
Save