#
# 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