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