diff --git a/common.mk b/common.mk index 6935409..13d4b7d 100644 --- a/common.mk +++ b/common.mk @@ -196,6 +196,10 @@ PRODUCT_PACKAGES += \ libhwbinder \ libhwbinder.vendor +# Keylayout +PRODUCT_COPY_FILES += \ + $(COMMON_PATH)/configs/keylayout/sec_touchscreen.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/sec_touchscreen.kl + # Keymaster PRODUCT_PACKAGES += \ android.hardware.keymaster@4.0-service.samsung \ diff --git a/configs/keylayout/sec_touchscreen.kl b/configs/keylayout/sec_touchscreen.kl new file mode 100644 index 0000000..cdf6c97 --- /dev/null +++ b/configs/keylayout/sec_touchscreen.kl @@ -0,0 +1,23 @@ +# Copyright (C) 2010 The Android Open Source 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. + +# +# Generic key layout file for full alphabetic US English PC style external keyboards. +# +# This file is intentionally very generic and is intended to support a broad range of keyboards. +# Do not edit the generic key layout to support a specific keyboard; instead, create +# a new key layout file with the required keyboard configuration. +# + +key 143 WAKEUP