Transition RHOD endcall key to home now that we have a touch dialer.
[xdandroid:rootfs.git] / init.etc / keymaps / rhod100_de_microp-keypad.kl
1 # HTC for AT&T 'rhod100 de' (Rhodium100 DE variant) Android 'navipad' layout
2 # Szymon Waliczek [majsterrr@gmail.com]
3
4 # v1.0 2010/02/05
5 #       - initial release
6 # v1.1 2010/02/06
7 # 1. CALL, MENU, BACK do not wake up device any more.
8 # 2. Buttons used to wake it up is: POWER and END_CALL
9 # 3. Euro Symbol fixed.
10 # v1.2 2010/02/14
11 # 1. CTRL button working ( see "rhod100_how_to.pdf" for more info )
12 # 2. ENVELOPE = Search ( see "rhod100_how_to.pdf" for more info )
13
14
15 # As per convention established in fuze_microp-keypad.kl, following
16 # keycodes are used for keys for which no 'obvious' code exists:
17
18 #       Underscore uses keycode 'TAB'
19 #       Exclamation uses keycode 'FOCUS'
20 #       Quote uses keycode 'EQUALS'
21 #       Colon uses keycode 'PLUS'
22 #       Left parenthesis uses keycode 'LEFT_BRACKET'
23 #       Right parenthesis uses keycode 'RIGHT_BRACKET'
24
25 # Top row of keys, left to right
26 key 2     1
27 key 3     2
28 key 4     3
29 key 5     4
30 key 6     5
31 key 7     6
32 key 8     7
33 key 9     8
34 key 10    9
35 key 11    0
36
37 # Second row of keys, left to right
38 key 16    Q
39 key 17    W
40 key 18    E
41 key 19    R
42 key 20    T
43 key 21    Z
44 key 22    U
45 key 23    I
46 key 24    O
47 key 25    P
48
49 # Third row of keys, left to right
50 key 30    A
51 key 31    S
52 key 32    D
53 key 33    F
54 key 34    G
55 key 35    H
56 key 36    J
57 key 37    K
58 key 38    L
59 key 14    DEL
60
61 # Fourth row of keys, left to right, skipping up arrow (handled in row 5)
62 key 42    SHIFT_LEFT
63 key 44    Y
64 key 45    X
65 key 46    C
66 key 47    V
67 key 48    B
68 key 49    N
69 key 50    M
70 key 28    ENTER
71
72 # Fifth row of keys, left to right, plus up arrow from row 4
73 key 464   MENU          #ctrl
74 key 215   ALT_LEFT      #FN
75 key 127   SEARCH        #envelope
76 key 51    COMMA
77 key 57    SPACE
78 key 52    PERIOD
79
80 # Currently, the 'left' and 'up' buttons return the same keycode,
81 # but including what the other keycode should be here so it will work
82 # when the kernel is fixed
83 key 105   DPAD_UP               WAKE_DROPPED
84 key 108   DPAD_LEFT             WAKE_DROPPED
85 key 106   DPAD_DOWN             WAKE_DROPPED
86 key 103   DPAD_RIGHT            WAKE_DROPPED
87
88 # These 'hardware' buttons are actually handled by the microp-keypad driver
89 key 139   MENU          #WAKE_DROPPED
90 key 158   BACK          #WAKE_DROPPED
91 key 231   CALL          #WAKE_DROPPED
92