From bba4dc2eb246f520c7397686d4f7b3c97118f6ef Mon Sep 17 00:00:00 2001 From: Ziyann Date: Fri, 14 Nov 2014 11:49:50 +0100 Subject: tuna: move key maps to keymap/ Change-Id: I1a386035c929ee44bb57c8a2bcfde8e3a57e04ec --- keymap/sec_jack.kcm | 15 +++++++++++ keymap/sec_jack.kl | 17 ++++++++++++ keymap/sii9234_rcp.kcm | 63 +++++++++++++++++++++++++++++++++++++++++++++ keymap/sii9234_rcp.kl | 49 +++++++++++++++++++++++++++++++++++ keymap/tuna-gpio-keypad.kcm | 15 +++++++++++ keymap/tuna-gpio-keypad.kl | 17 ++++++++++++ 6 files changed, 176 insertions(+) create mode 100644 keymap/sec_jack.kcm create mode 100644 keymap/sec_jack.kl create mode 100644 keymap/sii9234_rcp.kcm create mode 100644 keymap/sii9234_rcp.kl create mode 100644 keymap/tuna-gpio-keypad.kcm create mode 100644 keymap/tuna-gpio-keypad.kl (limited to 'keymap') 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 -- cgit v1.1