diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-11-10 14:40:44 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-11-10 14:40:44 -0800 |
commit | 6bf32c2ebc22dfd114aa18b2bf5ac09516b2ad71 (patch) | |
tree | 7e9924fd573b4846039c753aace4f4cf5569687d | |
parent | 8565dd52a53a13d6b7b47ee338a8c69a9e7bd535 (diff) | |
parent | e2e7bd690667b1a6af01fa9b343113d7c9425cc1 (diff) | |
download | device_samsung_tuna-6bf32c2ebc22dfd114aa18b2bf5ac09516b2ad71.zip device_samsung_tuna-6bf32c2ebc22dfd114aa18b2bf5ac09516b2ad71.tar.gz device_samsung_tuna-6bf32c2ebc22dfd114aa18b2bf5ac09516b2ad71.tar.bz2 |
Merge "Add key maps for tuna keypad. Bug: 5580373" into ics-mr1
-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 |