diff options
-rw-r--r-- | device.mk | 5 | ||||
-rw-r--r-- | tuna-gpio-keypad.kcm | 15 | ||||
-rw-r--r-- | tuna-gpio-keypad.kl | 17 |
3 files changed, 37 insertions, 0 deletions
@@ -96,6 +96,11 @@ PRODUCT_PACKAGES += \ VisualizationWallpapers \ librs_jni +# Key maps +PRODUCT_COPY_FILES += \ + device/samsung/tuna/tuna-gpio-keypad.kl:system/usr/keylayout/tuna-gpio-keypad.kl \ + device/samsung/tuna/tuna-gpio-keypad.kcm:system/usr/keychars/tuna-gpio-keypad.kcm + # Input device calibration files PRODUCT_COPY_FILES += \ device/samsung/tuna/Melfas_MMSxxx_Touchscreen.idc:system/usr/idc/Melfas_MMSxxx_Touchscreen.idc diff --git a/tuna-gpio-keypad.kcm b/tuna-gpio-keypad.kcm new file mode 100644 index 0000000..1a3cb57 --- /dev/null +++ b/tuna-gpio-keypad.kcm @@ -0,0 +1,15 @@ +# Copyright (C) 2011 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. + +type SPECIAL_FUNCTION diff --git a/tuna-gpio-keypad.kl b/tuna-gpio-keypad.kl new file mode 100644 index 0000000..383fe6b --- /dev/null +++ b/tuna-gpio-keypad.kl @@ -0,0 +1,17 @@ +# Copyright (C) 2011 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. + +key 114 VOLUME_DOWN WAKE +key 115 VOLUME_UP WAKE +key 116 POWER WAKE |