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