summaryrefslogtreecommitdiffstats
path: root/keymap
diff options
context:
space:
mode:
authorZiyann <jaraidaniel@gmail.com>2014-11-14 11:49:50 +0100
committerZiyan <jaraidaniel@gmail.com>2014-12-13 00:39:19 +0100
commitbba4dc2eb246f520c7397686d4f7b3c97118f6ef (patch)
treed3a13b0ca82adfa0329e329702640dff697ca191 /keymap
parent0e5e9cef4315f4ec2a8c5e3c8fa8d7eb8637084a (diff)
downloaddevice_samsung_tuna-bba4dc2eb246f520c7397686d4f7b3c97118f6ef.zip
device_samsung_tuna-bba4dc2eb246f520c7397686d4f7b3c97118f6ef.tar.gz
device_samsung_tuna-bba4dc2eb246f520c7397686d4f7b3c97118f6ef.tar.bz2
tuna: move key maps to keymap/
Change-Id: I1a386035c929ee44bb57c8a2bcfde8e3a57e04ec
Diffstat (limited to 'keymap')
-rw-r--r--keymap/sec_jack.kcm15
-rw-r--r--keymap/sec_jack.kl17
-rw-r--r--keymap/sii9234_rcp.kcm63
-rw-r--r--keymap/sii9234_rcp.kl49
-rw-r--r--keymap/tuna-gpio-keypad.kcm15
-rw-r--r--keymap/tuna-gpio-keypad.kl17
6 files changed, 176 insertions, 0 deletions
diff --git a/keymap/sec_jack.kcm b/keymap/sec_jack.kcm
new file mode 100644
index 0000000..7ee6e5a
--- /dev/null
+++ b/keymap/sec_jack.kcm
@@ -0,0 +1,15 @@
+# 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.
+
+type SPECIAL_FUNCTION
diff --git a/keymap/sec_jack.kl b/keymap/sec_jack.kl
new file mode 100644
index 0000000..1a421d6
--- /dev/null
+++ b/keymap/sec_jack.kl
@@ -0,0 +1,17 @@
+# 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.
+
+key 163 MEDIA_NEXT WAKE
+key 165 MEDIA_PREVIOUS WAKE
+key 226 HEADSETHOOK WAKE
diff --git a/keymap/sii9234_rcp.kcm b/keymap/sii9234_rcp.kcm
new file mode 100644
index 0000000..7fde864
--- /dev/null
+++ b/keymap/sii9234_rcp.kcm
@@ -0,0 +1,63 @@
+# 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
+
+key NUMPAD_0 {
+ label, base: '0'
+}
+
+key NUMPAD_1 {
+ label, base: '1'
+}
+
+key NUMPAD_2 {
+ label, base: '2'
+}
+
+key NUMPAD_3 {
+ label, base: '3'
+}
+
+key NUMPAD_4 {
+ label, base: '4'
+}
+
+key NUMPAD_5 {
+ label, base: '5'
+}
+
+key NUMPAD_6 {
+ label, base: '6'
+}
+
+key NUMPAD_7 {
+ label, base: '7'
+}
+
+key NUMPAD_8 {
+ label, base: '8'
+}
+
+key NUMPAD_9 {
+ label, base: '9'
+}
+
+key NUMPAD_DOT {
+ label, base: '.'
+}
+
+key NUMPAD_ENTER {
+ label, base: '\n'
+}
diff --git a/keymap/sii9234_rcp.kl b/keymap/sii9234_rcp.kl
new file mode 100644
index 0000000..12589f8
--- /dev/null
+++ b/keymap/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
diff --git a/keymap/tuna-gpio-keypad.kcm b/keymap/tuna-gpio-keypad.kcm
new file mode 100644
index 0000000..1a3cb57
--- /dev/null
+++ b/keymap/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/keymap/tuna-gpio-keypad.kl b/keymap/tuna-gpio-keypad.kl
new file mode 100644
index 0000000..383fe6b
--- /dev/null
+++ b/keymap/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