summaryrefslogtreecommitdiff
path: root/src/plugins/emulator/res/qwerty.properties
blob: 221629f7dcb8b259bee0d2eb3c543693bc9f0c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#
# 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.
#

# QWERTY codes as in <dev_root>/development/emulator/keymaps/qwerty.kl
GRAVE=399
1=KEY_1
2=KEY_2
3=KEY_3
4=KEY_4
5=KEY_5
6=KEY_6
7=KEY_7
8=KEY_8
9=KEY_9
0=KEY_0
BACK=KEY_BACK
SOFT_RIGHT=KEY_SOFT2
ENDCALL=KEY_END
MENU=KEY_SOFT1
SEARCH=KEY_SEARCH
POUND=KEY_SHARP
STAR=KEY_STAR
CALL=KEY_SEND
DPAD_CENTER=KEY_CENTER
DPAD_DOWN=KEY_DOWN
DPAD_UP=KEY_UP
HOME=KEY_HOME
DPAD_LEFT=KEY_LEFT
DPAD_RIGHT=KEY_RIGHT
VOLUME_UP=KEY_VOLUMEUP
VOLUME_DOWN=KEY_VOLUMEDOWN
POWER=KEY_POWER
CAMERA=KEY_CAMERA
Q=KEY_Q
W=KEY_W
E=KEY_E
R=KEY_R
T=KEY_T
Y=KEY_Y
U=KEY_U
I=KEY_I
O=KEY_O
P=KEY_P
LEFT_BRACKET=KEY_LEFTBRACE
RIGHT_BRACKET=KEY_RIGHTBRACE
BACKSLASH=KEY_BACKSLASH
A=KEY_A
S=KEY_S
D=KEY_D
F=KEY_F
G=KEY_G
H=KEY_H
J=KEY_J
K=KEY_K
L=KEY_L
SEMICOLON=KEY_SEMICOLON
APOSTROPHE=KEY_APOSTROPHE
DEL=KEY_BACKSPACE
Z=KEY_Z
X=KEY_X
C=KEY_C
V=KEY_V
B=KEY_B
N=KEY_N
M=KEY_M
COMMA=KEY_COMMA
PERIOD=KEY_DOT
SLASH=KEY_SLASH
ENTER=KEY_ENTER
ALT_LEFT=KEY_LEFTALT
ALT_RIGHT=KEY_RIGHTALT
SHIFT_LEFT=KEY_LEFTSHIFT
SHIFT_RIGHT=KEY_RIGHTSHIFT
TAB=KEY_TAB
SPACE=KEY_SPACE
EXPLORER=KEY_WWW
ENVELOPE=KEY_MAIL
MINUS=KEY_MINUS
EQUALS=KEY_EQUAL
AT=KEY_EMAIL

# Alternative names for existent keys (as retrieved from default layout files)
CAP=KEY_LEFTSHIFT
CAP2=KEY_RIGHTSHIFT
ALT=KEY_LEFTALT
ALT2=KEY_RIGHTALT

# Missing keys (codes discovered by using the "adb shell getevent" command)
SOFT_LEFT=KEY_SOFT1
SYM=KEY_COMPOSE
PHONE_DIAL=KEY_SEND
PHONE_HANGUP=KEY_END