Progress
This commit is contained in:
14
ttp/files/aw9523-key.idc
Normal file
14
ttp/files/aw9523-key.idc
Normal file
@@ -0,0 +1,14 @@
|
||||
# Agold add for A61 by guotuo
|
||||
|
||||
device.internal = 1
|
||||
|
||||
touch.deviceType = touchScreen
|
||||
touch.orientationAware = 1
|
||||
|
||||
keyboard.layout = aw9523-key.kl
|
||||
keyboard.characterMap = aw9523-key
|
||||
keyboard.orientationAware = 1
|
||||
keyboard.builtIn = 1
|
||||
|
||||
cursor.mode = navigation
|
||||
cursor.orientationAware = 1
|
||||
240
ttp/files/aw9523-key.kcm
Normal file
240
ttp/files/aw9523-key.kcm
Normal file
@@ -0,0 +1,240 @@
|
||||
# Agold add for A61 by guotuo
|
||||
|
||||
type ALPHA
|
||||
|
||||
key A {
|
||||
label: 'A'
|
||||
base: 'a'
|
||||
shift, capslock: 'A'
|
||||
alt: '@'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key B {
|
||||
label: 'B'
|
||||
base: 'b'
|
||||
shift, capslock: 'B'
|
||||
alt: '.'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key C {
|
||||
label: 'C'
|
||||
number: '8'
|
||||
base: 'c'
|
||||
shift, capslock: 'C'
|
||||
alt: '8'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key D {
|
||||
label: 'D'
|
||||
number: '5'
|
||||
base: 'd'
|
||||
shift, capslock: 'D'
|
||||
alt: '5'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key E {
|
||||
label: 'E'
|
||||
number: '2'
|
||||
base: 'e'
|
||||
shift, capslock: 'E'
|
||||
alt: '2'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key F {
|
||||
label: 'F'
|
||||
number: '6'
|
||||
base: 'f'
|
||||
shift, capslock: 'F'
|
||||
alt: '6'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key G {
|
||||
label: 'G'
|
||||
base: 'g'
|
||||
shift, capslock: 'G'
|
||||
alt: '*'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key H {
|
||||
label: 'H'
|
||||
base: 'h'
|
||||
shift, capslock: 'H'
|
||||
alt: '#'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key I {
|
||||
label: 'I'
|
||||
base: 'i'
|
||||
shift, capslock: 'I'
|
||||
alt: '_'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key J {
|
||||
label: 'J'
|
||||
base: 'j'
|
||||
shift, capslock: 'J'
|
||||
alt: '+'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key K {
|
||||
label: 'K'
|
||||
base: 'k'
|
||||
shift, capslock: 'K'
|
||||
alt: '"'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key L {
|
||||
label: 'L'
|
||||
base: 'l'
|
||||
shift, capslock: 'L'
|
||||
alt: '\''
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key M {
|
||||
label: 'M'
|
||||
base: 'm'
|
||||
shift, capslock: 'M'
|
||||
alt: '?'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key N {
|
||||
label: 'N'
|
||||
base: 'n'
|
||||
shift, capslock: 'N'
|
||||
alt: ','
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key O {
|
||||
label: 'O'
|
||||
base: 'o'
|
||||
shift, capslock: 'O'
|
||||
alt: '/'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key P {
|
||||
label: 'P'
|
||||
base: 'p'
|
||||
shift, capslock: 'P'
|
||||
alt: ':'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key Q {
|
||||
label: 'Q'
|
||||
number: '0'
|
||||
base: 'q'
|
||||
shift, capslock: 'Q'
|
||||
alt: '0'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key R {
|
||||
label: 'R'
|
||||
number: '3'
|
||||
base: 'r'
|
||||
shift, capslock: 'R'
|
||||
alt: '3'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key S {
|
||||
label: 'S'
|
||||
number: '4'
|
||||
base: 's'
|
||||
shift, capslock: 'S'
|
||||
alt: '4'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key T {
|
||||
label: 'T'
|
||||
base: 't'
|
||||
shift, capslock: 'T'
|
||||
alt: '('
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key U {
|
||||
label: 'U'
|
||||
base: 'u'
|
||||
shift, capslock: 'U'
|
||||
alt: '-'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key V {
|
||||
label: 'V'
|
||||
number: '9'
|
||||
base: 'v'
|
||||
shift, capslock: 'V'
|
||||
alt: '9'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key W {
|
||||
label: 'W'
|
||||
number: '1'
|
||||
base: 'w'
|
||||
shift, capslock: 'W'
|
||||
alt: '1'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key X {
|
||||
label: 'X'
|
||||
number: '7'
|
||||
base: 'x'
|
||||
shift, capslock: 'X'
|
||||
alt: '7'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key Y {
|
||||
label: 'Y'
|
||||
base: 'y'
|
||||
shift, capslock: 'Y'
|
||||
alt: ')'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key Z {
|
||||
label: 'Z'
|
||||
base: 'z'
|
||||
shift, capslock: 'Z'
|
||||
alt: '!'
|
||||
shift+alt, capslock+alt: none
|
||||
}
|
||||
|
||||
key SPACE {
|
||||
label: ' '
|
||||
number: ' '
|
||||
base: ' '
|
||||
shift: ' '
|
||||
alt: '\uef01'
|
||||
shift+alt: '\uef01'
|
||||
}
|
||||
|
||||
key ENTER {
|
||||
label: '\n'
|
||||
number: '\n'
|
||||
base: '\n'
|
||||
shift: '\n'
|
||||
alt: '\n'
|
||||
shift+alt: '\n'
|
||||
}
|
||||
|
||||
105
ttp/files/aw9523-key.kl
Normal file
105
ttp/files/aw9523-key.kl
Normal file
@@ -0,0 +1,105 @@
|
||||
key 399 GRAVE
|
||||
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
|
||||
key 230 SOFT_RIGHT
|
||||
key 60 SOFT_RIGHT
|
||||
key 107 ENDCALL
|
||||
key 62 ENDCALL
|
||||
key 229 MENU
|
||||
key 139 MENU
|
||||
key 59 MENU
|
||||
key 127 SYM
|
||||
key 217 SEARCH
|
||||
key 228 POUND
|
||||
key 227 STAR
|
||||
key 231 CALL
|
||||
key 61 CALL
|
||||
key 232 DPAD_CENTER
|
||||
key 108 DPAD_DOWN
|
||||
key 103 DPAD_UP
|
||||
key 102 HOME
|
||||
key 105 DPAD_LEFT
|
||||
key 106 DPAD_RIGHT
|
||||
key 115 VOLUME_UP
|
||||
key 114 VOLUME_DOWN
|
||||
key 113 MUTE
|
||||
key 116 POWER
|
||||
key 212 CAMERA
|
||||
key 211 FOCUS
|
||||
|
||||
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 164 MEDIA_PLAY_PAUSE
|
||||
key 128 MEDIA_STOP
|
||||
key 163 MEDIA_NEXT
|
||||
key 165 MEDIA_PREVIOUS
|
||||
key 168 MEDIA_REWIND
|
||||
key 159 MEDIA_FAST_FORWARD
|
||||
|
||||
# agold add
|
||||
key 249 FUNC1
|
||||
key 250 FUNC2
|
||||
# add for a83 function key
|
||||
key 183 FUNC1
|
||||
|
||||
key 580 APP_SWITCH
|
||||
|
||||
31
ttp/files/mtk-kpd.idc
Normal file
31
ttp/files/mtk-kpd.idc
Normal file
@@ -0,0 +1,31 @@
|
||||
# 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.
|
||||
|
||||
#
|
||||
# Emulator keyboard configuration file #2.
|
||||
#
|
||||
|
||||
touch.deviceType = touchScreen
|
||||
touch.orientationAware = 1
|
||||
|
||||
keyboard.layout = mtk-kpd
|
||||
keyboard.characterMap = qwerty
|
||||
keyboard.orientationAware = 1
|
||||
|
||||
# AGOLD zhangyongjiang modify from 1 to 0 for a66/a83.
|
||||
keyboard.builtIn = 0
|
||||
|
||||
cursor.mode = navigation
|
||||
cursor.orientationAware = 1
|
||||
|
||||
13
ttp/files/mtk-kpd.kl
Normal file
13
ttp/files/mtk-kpd.kl
Normal file
@@ -0,0 +1,13 @@
|
||||
# Keylayout for Unihertz devices with a dedicated PTT button
|
||||
# Volume buttons
|
||||
key 115 VOLUME_UP
|
||||
key 114 VOLUME_DOWN
|
||||
|
||||
# Power button
|
||||
key 116 POWER
|
||||
|
||||
# PTT - Remap to camera by default
|
||||
# CAMERA is delivered to apps, so remapping via
|
||||
# third-party apps is possible
|
||||
key 249 CAMERA
|
||||
key 250 CAMERA
|
||||
22
ttp/files/mtk-pad.idc
Normal file
22
ttp/files/mtk-pad.idc
Normal file
@@ -0,0 +1,22 @@
|
||||
# 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.
|
||||
|
||||
#
|
||||
# Emulator keyboard configuration file #2.
|
||||
#
|
||||
|
||||
touch.deviceType = touchPad
|
||||
touch.orientationAware = 1
|
||||
|
||||
|
||||
6
ttp/files/mtk-tpd.kl
Normal file
6
ttp/files/mtk-tpd.kl
Normal file
@@ -0,0 +1,6 @@
|
||||
# Keylayout for Unihertz devices with capacitive keys
|
||||
# Capacitive navigation
|
||||
key 172 HOME VIRTUAL
|
||||
key 580 APP_SWITCH VIRTUAL
|
||||
key 158 BACK VIRTUAL
|
||||
|
||||
Reference in New Issue
Block a user