1 | /* Keymap for Italian keyboard. */
|
---|
2 | /* Modified by Ernesto Del Prete in October 1997 */
|
---|
3 | /* ernesto@cclix1.polito.it or s84508@cclix1.polito.it */
|
---|
4 |
|
---|
5 | u16_t keymap[NR_SCAN_CODES * MAP_COLS] = {
|
---|
6 |
|
---|
7 | /* scan-code !Shift Shift Alt AltGr Alt+Sh Ctrl */
|
---|
8 | /* ==================================================================== */
|
---|
9 | /* 00 - none */ 0, 0, 0, 0, 0, 0,
|
---|
10 | /* 01 - ESC */ C('['), C('['), CA('['),C('['), C('['), C('['),
|
---|
11 | /* 02 - '1' */ '1', '!', A('1'), '1', '!', C('A'),
|
---|
12 | /* 03 - '2' */ '2', '"', A('2'), '2', '@', C('@'),
|
---|
13 | /* 04 - '3' */ '3', 0234, A('3'), '3', 0234, C('C'),
|
---|
14 | /* 05 - '4' */ '4', '$', A('4'), '4', '$', C('D'),
|
---|
15 | /* 06 - '5' */ '5', '%', A('5'), '5', '%', C('E'),
|
---|
16 | /* 07 - '6' */ '6', '&', A('6'), '6', '&', C('F'),
|
---|
17 | /* 08 - '7' */ '7', '/', A('7'), '7', '/', C('G'),
|
---|
18 | /* 09 - '8' */ '8', '(', A('8'), '8', '(', C('H'),
|
---|
19 | /* 10 - '9' */ '9', ')', A('9'), '8', ')', C('I'),
|
---|
20 | /* 11 - '0' */ '0', '=', A('0'), '0', '=', C('@'),
|
---|
21 | /* 12 - '-' */ '\'', '?', A('\''),'`', '?', C('@'),
|
---|
22 | /* 13 - '=' */ 0215, '^', A('|'), 0215, '^', C('^'),
|
---|
23 | /* 14 - BS */ C('H'), C('H'), CA('H'),C('H'), C('H'), 0177,
|
---|
24 | /* 15 - TAB */ C('I'), C('I'), CA('I'),C('I'), C('I'), C('I'),
|
---|
25 | /* 16 - 'q' */ L('q'), 'Q', A('q'), 'q', 'Q', C('Q'),
|
---|
26 | /* 17 - 'w' */ L('w'), 'W', A('w'), 'w', 'W', C('W'),
|
---|
27 | /* 18 - 'e' */ L('e'), 'E', A('e'), 'e', 'E', C('E'),
|
---|
28 | /* 19 - 'r' */ L('r'), 'R', A('r'), 'r', 'R', C('R'),
|
---|
29 | /* 20 - 't' */ L('t'), 'T', A('t'), 't', 'T', C('T'),
|
---|
30 | /* 21 - 'y' */ L('y'), 'Y', A('y'), 'y', 'Y', C('Y'),
|
---|
31 | /* 22 - 'u' */ L('u'), 'U', A('u'), 'u', 'U', C('U'),
|
---|
32 | /* 23 - 'i' */ L('i'), 'I', A('i'), 'i', 'I', C('I'),
|
---|
33 | /* 24 - 'o' */ L('o'), 'O', A('o'), 'o', 'O', C('O'),
|
---|
34 | /* 25 - 'p' */ L('p'), 'P', A('p'), 'p', 'P', C('P'),
|
---|
35 | /* 26 - '[' */ 0212, 0202, 0212, '[', '{', C('['),
|
---|
36 | /* 27 - ']' */ '+', '*', A('+'), ']', '}', C(']'),
|
---|
37 | /* 28 - CR/LF */ C('M'), C('M'), CA('M'),C('M'), C('M'), C('J'),
|
---|
38 | /* 29 - Ctrl */ CTRL, CTRL, CTRL, CTRL, CTRL, CTRL,
|
---|
39 | /* 30 - 'a' */ L('a'), 'A', A('a'), 'a', 'A', C('A'),
|
---|
40 | /* 31 - 's' */ L('s'), 'S', A('s'), 's', 'S', C('S'),
|
---|
41 | /* 32 - 'd' */ L('d'), 'D', A('d'), 'd', 'D', C('D'),
|
---|
42 | /* 33 - 'f' */ L('f'), 'F', A('f'), 'f', 'F', C('F'),
|
---|
43 | /* 34 - 'g' */ L('g'), 'G', A('g'), 'g', 'G', C('G'),
|
---|
44 | /* 35 - 'h' */ L('h'), 'H', A('h'), 'h', 'H', C('H'),
|
---|
45 | /* 36 - 'j' */ L('j'), 'J', A('j'), 'j', 'J', C('J'),
|
---|
46 | /* 37 - 'k' */ L('k'), 'K', A('k'), 'k', 'K', C('K'),
|
---|
47 | /* 38 - 'l' */ L('l'), 'L', A('l'), 'l', 'L', C('L'),
|
---|
48 | /* 39 - ';' */ 0225, 0207, 0225, '@', '@', C('@'),
|
---|
49 | /* 40 - '\'' */ 0205, 0370, 0205, '#', 0276, C('@'),
|
---|
50 | /* 41 - '`' */ '\\', '|', A('\\'),0176, '|', C('\\'),
|
---|
51 | /* 42 - l. SHIFT*/ SHIFT, SHIFT, SHIFT, SHIFT, SHIFT, SHIFT,
|
---|
52 | /* 43 - '\\' */ 0227, 025, 0227, 0227, 025, C('@'),
|
---|
53 | /* 44 - 'z' */ L('z'), 'Z', A('z'), 'z', 'Z', C('Z'),
|
---|
54 | /* 45 - 'x' */ L('x'), 'X', A('x'), 'x', 'X', C('X'),
|
---|
55 | /* 46 - 'c' */ L('c'), 'C', A('c'), 'c', 'C', C('C'),
|
---|
56 | /* 47 - 'v' */ L('v'), 'V', A('v'), 'v', 'V', C('V'),
|
---|
57 | /* 48 - 'b' */ L('b'), 'B', A('b'), 'b', 'B', C('B'),
|
---|
58 | /* 49 - 'n' */ L('n'), 'N', A('n'), 'n', 'N', C('N'),
|
---|
59 | /* 50 - 'm' */ L('m'), 'M', A('m'), 'm', 'M', C('M'),
|
---|
60 | /* 51 - ',' */ ',', ';', A(','), ',', ';', C('@'),
|
---|
61 | /* 52 - '.' */ '.', ':', A('.'), '.', ':', C('@'),
|
---|
62 | /* 53 - '/' */ '-', '_', A('-'), '-', '_', C('_'),
|
---|
63 | /* 54 - r. SHIFT*/ SHIFT, SHIFT, SHIFT, SHIFT, SHIFT, SHIFT,
|
---|
64 | /* 55 - '*' */ '*', '*', A('*'), '*', '*', C('M'),
|
---|
65 | /* 56 - ALT */ ALT, ALT, ALT, ALT, ALT, ALT,
|
---|
66 | /* 57 - ' ' */ ' ', ' ', A(' '), ' ', ' ', C('@'),
|
---|
67 | /* 58 - CapsLck */ CALOCK, CALOCK, CALOCK, CALOCK, CALOCK, CALOCK,
|
---|
68 | /* 59 - F1 */ F1, SF1, AF1, AF1, ASF1, CF1,
|
---|
69 | /* 60 - F2 */ F2, SF2, AF2, AF2, ASF2, CF2,
|
---|
70 | /* 61 - F3 */ F3, SF3, AF3, AF3, ASF3, CF3,
|
---|
71 | /* 62 - F4 */ F4, SF4, AF4, AF4, ASF4, CF4,
|
---|
72 | /* 63 - F5 */ F5, SF5, AF5, AF5, ASF5, CF5,
|
---|
73 | /* 64 - F6 */ F6, SF6, AF6, AF6, ASF6, CF6,
|
---|
74 | /* 65 - F7 */ F7, SF7, AF7, AF7, ASF7, CF7,
|
---|
75 | /* 66 - F8 */ F8, SF8, AF8, AF8, ASF8, CF8,
|
---|
76 | /* 67 - F9 */ F9, SF9, AF9, AF9, ASF9, CF9,
|
---|
77 | /* 68 - F10 */ F10, SF10, AF10, AF10, ASF10, CF10,
|
---|
78 | /* 69 - NumLock */ NLOCK, NLOCK, NLOCK, NLOCK, NLOCK, NLOCK,
|
---|
79 | /* 70 - ScrLock */ SLOCK, SLOCK, SLOCK, SLOCK, SLOCK, SLOCK,
|
---|
80 | /* 71 - Home */ HOME, '7', AHOME, AHOME, '7', CHOME,
|
---|
81 | /* 72 - CurUp */ UP, '8', AUP, AUP, '8', CUP,
|
---|
82 | /* 73 - PgUp */ PGUP, '9', APGUP, APGUP, '9', CPGUP,
|
---|
83 | /* 74 - '-' */ NMIN, '-', ANMIN, ANMIN, '-', CNMIN,
|
---|
84 | /* 75 - Left */ LEFT, '4', ALEFT, ALEFT, '4', CLEFT,
|
---|
85 | /* 76 - MID */ MID, '5', AMID, AMID, '5', CMID,
|
---|
86 | /* 77 - Right */ RIGHT, '6', ARIGHT, ARIGHT, '6', CRIGHT,
|
---|
87 | /* 78 - '+' */ PLUS, '+', APLUS, APLUS, '+', CPLUS,
|
---|
88 | /* 79 - End */ END, '1', AEND, AEND, '1', CEND,
|
---|
89 | /* 80 - Down */ DOWN, '2', ADOWN, ADOWN, '2', CDOWN,
|
---|
90 | /* 81 - PgDown */ PGDN, '3', APGDN, APGDN, '3', CPGDN,
|
---|
91 | /* 82 - Insert */ INSRT, '0', AINSRT, AINSRT, '0', CINSRT,
|
---|
92 | /* 83 - Delete */ 0177, '.', A(0177),0177, '.', 0177,
|
---|
93 | /* 84 - Enter */ C('M'), C('M'), CA('M'),C('M'), C('M'), C('J'),
|
---|
94 | /* 85 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
95 | /* 86 - ??? */ '<', '>', A('<'), '|', '>', C('@'),
|
---|
96 | /* 87 - F11 */ F11, SF11, AF11, AF11, ASF11, CF11,
|
---|
97 | /* 88 - F12 */ F12, SF12, AF12, AF12, ASF12, CF12,
|
---|
98 | /* 89 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
99 | /* 90 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
100 | /* 91 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
101 | /* 92 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
102 | /* 93 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
103 | /* 94 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
104 | /* 95 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
105 | /* 96 - EXT_KEY */ EXTKEY, EXTKEY, EXTKEY, EXTKEY, EXTKEY, EXTKEY,
|
---|
106 | /* 97 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
107 | /* 98 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
108 | /* 99 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
109 | /*100 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
110 | /*101 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
111 | /*102 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
112 | /*103 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
113 | /*104 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
114 | /*105 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
115 | /*106 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
116 | /*107 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
117 | /*108 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
118 | /*109 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
119 | /*110 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
120 | /*111 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
121 | /*112 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
122 | /*113 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
123 | /*114 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
124 | /*115 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
125 | /*116 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
126 | /*117 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
127 | /*118 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
128 | /*119 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
129 | /*120 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
130 | /*121 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
131 | /*122 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
132 | /*123 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
133 | /*124 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
134 | /*125 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
135 | /*126 - ??? */ 0, 0, 0, 0, 0, 0,
|
---|
136 | /*127 - ??? */ 0, 0, 0, 0, 0, 0
|
---|
137 | };
|
---|