summaryrefslogtreecommitdiff
path: root/common.kl
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2016-11-02 16:37:00 +0800
committerDmitry Shmidt <dimitrysh@google.com>2016-12-02 14:13:28 -0800
commitaf628c2c2edba962bcdcf8576af8ee2835545405 (patch)
tree279cb35b5a7ce670030370b8a01a591e230faeda /common.kl
parentcff48dd3ba47e8657a7b618723b58325e50ab5af (diff)
downloadhikey-af628c2c2edba962bcdcf8576af8ee2835545405.tar.gz
hikey: restructure hikey device configuration
No functional changes. Just moved around the configuration files and restructured them to support future hikey family devices. Similar to how Marlin and Sailfish devices are configured. Split the board configuration into BoardConfigCommon.mk (for common configuration) and hikey/BoardConfig.mk (for hikey specific configuration e.g. Image sizes and kernel commandline). Similarly split device.mk into device-common.mk and hikey/device-hikey.mk. Updated hikey.mk to include both device-common.mk and hikey/device-hikey.mk. Renamed init.hikey.rc to init.common.rc and modified it to import init.${ro.hardware}.usb.rc and mount fstab.${ro.hardware} instead. Changes to be committed: renamed: BoardConfig.mk => BoardConfigCommon.mk (68%) renamed: hikey.kl => common.kl (100%) renamed: device.mk => device-common.mk (74%) modified: hikey.mk new file: hikey/BoardConfig.mk renamed: board-info.txt => hikey/board-info.txt (100%) new file: hikey/device-hikey.mk renamed: fstab.hikey => hikey/fstab.hikey (100%) renamed: fstab.hikey-4.1 => hikey/fstab.hikey-4.1 (100%) renamed: init.hikey.rc => init.common.rc (97%) renamed: init.hikey.usb.rc => init.common.usb.rc (100%) renamed: ueventd.hikey.rc => ueventd.common.rc (100%) Test: Manual Change-Id: I032323aa8846a3bc144e40b4b5e5348c8f8d11c5 Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'common.kl')
-rw-r--r--common.kl113
1 files changed, 113 insertions, 0 deletions
diff --git a/common.kl b/common.kl
new file mode 100644
index 00000000..a1302da2
--- /dev/null
+++ b/common.kl
@@ -0,0 +1,113 @@
+# 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.
+
+#
+# Generic key layout file for full alphabetic US English PC style external keyboards.
+#
+# This file is intentionally very generic and is intended to support a broad rang of keyboards.
+# Do not edit the generic key layout to support a specific keyboard; instead, create
+# a new key layout file with the required keyboard configuration.
+#
+
+key 399 GRAVE
+key 1 BACK
+key 2 1
+key 3 2
+key 4 3
+key 5 4
+key 6 5
+key 7 6
+key 8 7
+key 9 8
+key 10 9
+key 11 0
+key 158 BACK WAKE_DROPPED
+key 230 SOFT_RIGHT WAKE
+key 60 SOFT_RIGHT WAKE
+key 107 ENDCALL WAKE_DROPPED
+key 62 ENDCALL WAKE_DROPPED
+key 229 MENU WAKE_DROPPED
+key 139 MENU WAKE_DROPPED
+key 59 MENU WAKE_DROPPED
+key 127 SEARCH WAKE_DROPPED
+key 217 SEARCH WAKE_DROPPED
+key 228 POUND
+key 227 STAR
+key 231 CALL WAKE_DROPPED
+key 61 CALL WAKE_DROPPED
+key 232 DPAD_CENTER WAKE_DROPPED
+key 108 DPAD_DOWN WAKE_DROPPED
+key 103 DPAD_UP WAKE_DROPPED
+key 102 HOME WAKE
+key 105 DPAD_LEFT WAKE_DROPPED
+key 106 DPAD_RIGHT WAKE_DROPPED
+key 115 VOLUME_UP
+key 114 VOLUME_DOWN
+key 116 POWER WAKE
+key 212 CAMERA
+
+key 16 Q
+key 17 W
+key 18 E
+key 19 R
+key 20 T
+key 21 Y
+key 22 U
+key 23 I
+key 24 O
+key 25 P
+key 26 LEFT_BRACKET
+key 27 RIGHT_BRACKET
+key 43 BACKSLASH
+
+key 30 A
+key 31 S
+key 32 D
+key 33 F
+key 34 G
+key 35 H
+key 36 J
+key 37 K
+key 38 L
+key 39 SEMICOLON
+key 40 APOSTROPHE
+key 14 DEL
+
+key 44 Z
+key 45 X
+key 46 C
+key 47 V
+key 48 B
+key 49 N
+key 50 M
+key 51 COMMA
+key 52 PERIOD
+key 53 SLASH
+key 28 ENTER
+
+key 56 ALT_LEFT
+key 100 ALT_RIGHT
+key 42 SHIFT_LEFT
+key 54 SHIFT_RIGHT
+key 15 TAB
+key 57 SPACE
+key 150 EXPLORER
+key 155 ENVELOPE
+
+key 12 MINUS
+key 13 EQUALS
+key 215 AT
+
+
+key 82 MENU WAKE