summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2012-04-04 12:57:48 -0700
committerGreg Hackmann <ghackmann@google.com>2012-04-05 13:44:12 -0700
commit4af56bfa638adb2bf94fc0d017c0104b079c7c4f (patch)
treeca45b7470e86687a2cc708919fec4bcdbc6e3ceb
parent792edf50b8cad61a82f296d6d60c09f8ca922e66 (diff)
downloaddevice_samsung_tuna-4af56bfa638adb2bf94fc0d017c0104b079c7c4f.zip
device_samsung_tuna-4af56bfa638adb2bf94fc0d017c0104b079c7c4f.tar.gz
device_samsung_tuna-4af56bfa638adb2bf94fc0d017c0104b079c7c4f.tar.bz2
Add sii9234 rcp keymap
Change-Id: I1365cfe58284e39169a511ff554ec1af6152c3d7 Signed-off-by: Greg Hackmann <ghackmann@google.com>
-rw-r--r--device.mk4
-rw-r--r--sii9234_rcp.kcm15
-rw-r--r--sii9234_rcp.kl49
3 files changed, 67 insertions, 1 deletions
diff --git a/device.mk b/device.mk
index f6e49e6..a9f3455 100644
--- a/device.mk
+++ b/device.mk
@@ -108,7 +108,9 @@ 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 \
device/samsung/tuna/sec_jack.kl:system/usr/keylayout/sec_jack.kl \
- device/samsung/tuna/sec_jack.kcm:system/usr/keychars/sec_jack.kcm
+ device/samsung/tuna/sec_jack.kcm:system/usr/keychars/sec_jack.kcm \
+ device/samsung/tuna/sii9234_rcp.kl:system/usr/keylayout/sii9234_rcp.kl \
+ device/samsung/tuna/sii9234_rcp.kcm:system/usr/keychars/sii9234_rcp.kcm
# Input device calibration files
PRODUCT_COPY_FILES += \
diff --git a/sii9234_rcp.kcm b/sii9234_rcp.kcm
new file mode 100644
index 0000000..6fc2422
--- /dev/null
+++ b/sii9234_rcp.kcm
@@ -0,0 +1,15 @@
+# Copyright (C) 2012 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/sii9234_rcp.kl b/sii9234_rcp.kl
new file mode 100644
index 0000000..12589f8
--- /dev/null
+++ b/sii9234_rcp.kl
@@ -0,0 +1,49 @@
+# Copyright (C) 2012 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 353 DPAD_CENTER
+key 103 DPAD_UP
+key 108 DPAD_DOWN
+key 105 DPAD_LEFT
+key 106 DPAD_RIGHT
+
+key 139 MENU
+
+key 174 BACK
+
+key 512 NUMPAD_0
+key 513 NUMPAD_1
+key 514 NUMPAD_2
+key 515 NUMPAD_3
+key 516 NUMPAD_4
+key 517 NUMPAD_5
+key 518 NUMPAD_6
+key 519 NUMPAD_7
+key 520 NUMPAD_8
+key 521 NUMPAD_9
+key 52 NUMPAD_DOT
+key 28 NUMPAD_ENTER
+key 355 CLEAR
+
+key 207 MEDIA_PLAY
+key 128 MEDIA_STOP
+key 164 MEDIA_PLAY_PAUSE
+
+key 168 MEDIA_REWIND
+key 208 MEDIA_FAST_FORWARD
+
+key 163 MEDIA_NEXT
+key 165 MEDIA_PREVIOUS
+
+key 119 MEDIA_PAUSE