bellard | 3d11d0e | 2004-12-12 16:56:30 +0000 | [diff] [blame] | 1 | map 0x0000041d |
Gerd Hoffmann | 26b1cbf | 2018-11-16 11:43:18 +0100 | [diff] [blame] | 2 | |
| 3 | Shift_R 0x36 |
| 4 | Shift_L 0x2a |
| 5 | |
| 6 | Alt_R 0xb8 |
| 7 | Mode_switch 0xb8 |
| 8 | ISO_Level3_Shift 0xb8 |
| 9 | Alt_L 0x38 |
| 10 | |
| 11 | Control_R 0x9d |
| 12 | Control_L 0x1d |
| 13 | |
| 14 | # Translate Super to Windows keys. |
| 15 | # This is hardcoded. See documentation for details. |
| 16 | Super_R 0xdc |
| 17 | Super_L 0xdb |
| 18 | |
| 19 | # Translate Menu to the Windows Application key. |
| 20 | Menu 0xdd |
| 21 | |
| 22 | # |
| 23 | # Top row |
| 24 | # |
| 25 | 1 0x2 |
| 26 | 2 0x3 |
| 27 | 3 0x4 |
| 28 | 4 0x5 |
| 29 | 5 0x6 |
| 30 | 6 0x7 |
| 31 | 7 0x8 |
| 32 | 8 0x9 |
| 33 | 9 0xa |
| 34 | 0 0xb |
| 35 | BackSpace 0xe |
| 36 | |
| 37 | # |
| 38 | # QWERTY first row |
| 39 | # |
| 40 | Tab 0xf localstate |
| 41 | ISO_Left_Tab 0xf shift |
| 42 | q 0x10 addupper |
| 43 | w 0x11 addupper |
| 44 | e 0x12 addupper |
| 45 | r 0x13 addupper |
| 46 | t 0x14 addupper |
| 47 | y 0x15 addupper |
| 48 | u 0x16 addupper |
| 49 | i 0x17 addupper |
| 50 | o 0x18 addupper |
| 51 | p 0x19 addupper |
| 52 | |
| 53 | # |
| 54 | # QWERTY second row |
| 55 | # |
| 56 | a 0x1e addupper |
| 57 | s 0x1f addupper |
| 58 | d 0x20 addupper |
| 59 | f 0x21 addupper |
| 60 | g 0x22 addupper |
| 61 | h 0x23 addupper |
| 62 | j 0x24 addupper |
| 63 | k 0x25 addupper |
| 64 | l 0x26 addupper |
| 65 | Return 0x1c localstate |
| 66 | |
| 67 | # |
| 68 | # QWERTY third row |
| 69 | # |
| 70 | z 0x2c addupper |
| 71 | x 0x2d addupper |
| 72 | c 0x2e addupper |
| 73 | v 0x2f addupper |
| 74 | b 0x30 addupper |
| 75 | n 0x31 addupper |
| 76 | m 0x32 addupper |
| 77 | |
| 78 | space 0x39 localstate |
| 79 | |
| 80 | less 0x56 |
| 81 | greater 0x56 shift |
| 82 | bar 0x56 altgr |
| 83 | brokenbar 0x56 shift altgr |
| 84 | |
| 85 | # |
| 86 | # Esc and Function keys |
| 87 | # |
| 88 | Escape 0x1 localstate |
| 89 | F1 0x3b localstate |
| 90 | F2 0x3c localstate |
| 91 | F3 0x3d localstate |
| 92 | F4 0x3e localstate |
| 93 | F5 0x3f localstate |
| 94 | F6 0x40 localstate |
| 95 | F7 0x41 localstate |
| 96 | F8 0x42 localstate |
| 97 | F9 0x43 localstate |
| 98 | F10 0x44 localstate |
| 99 | F11 0x57 localstate |
| 100 | F12 0x58 localstate |
| 101 | |
| 102 | # Printscreen, Scrollock and Pause |
| 103 | # Printscreen really requires four scancodes (0xe0, 0x2a, 0xe0, 0x37), |
| 104 | # but (0xe0, 0x37) seems to work. |
| 105 | Print 0xb7 localstate |
| 106 | Sys_Req 0xb7 localstate |
| 107 | Execute 0xb7 localstate |
| 108 | Scroll_Lock 0x46 |
| 109 | |
| 110 | # |
| 111 | # Insert - PgDown |
| 112 | # |
| 113 | Insert 0xd2 localstate |
| 114 | Delete 0xd3 localstate |
| 115 | Home 0xc7 localstate |
| 116 | End 0xcf localstate |
| 117 | Page_Up 0xc9 localstate |
| 118 | Page_Down 0xd1 localstate |
| 119 | |
| 120 | # |
| 121 | # Arrow keys |
| 122 | # |
| 123 | Left 0xcb localstate |
| 124 | Up 0xc8 localstate |
| 125 | Down 0xd0 localstate |
| 126 | Right 0xcd localstate |
| 127 | |
| 128 | # |
| 129 | # Numpad |
| 130 | # |
| 131 | Num_Lock 0x45 |
| 132 | KP_Divide 0xb5 |
| 133 | KP_Multiply 0x37 |
| 134 | KP_Subtract 0x4a |
| 135 | KP_Add 0x4e |
| 136 | KP_Enter 0x9c |
| 137 | |
| 138 | KP_Decimal 0x53 numlock |
| 139 | KP_Separator 0x53 numlock |
| 140 | KP_Delete 0x53 |
| 141 | |
| 142 | KP_0 0x52 numlock |
| 143 | KP_Insert 0x52 |
| 144 | |
| 145 | KP_1 0x4f numlock |
| 146 | KP_End 0x4f |
| 147 | |
| 148 | KP_2 0x50 numlock |
| 149 | KP_Down 0x50 |
| 150 | |
| 151 | KP_3 0x51 numlock |
| 152 | KP_Next 0x51 |
| 153 | |
| 154 | KP_4 0x4b numlock |
| 155 | KP_Left 0x4b |
| 156 | |
| 157 | KP_5 0x4c numlock |
| 158 | KP_Begin 0x4c |
| 159 | |
| 160 | KP_6 0x4d numlock |
| 161 | KP_Right 0x4d |
| 162 | |
| 163 | KP_7 0x47 numlock |
| 164 | KP_Home 0x47 |
| 165 | |
| 166 | KP_8 0x48 numlock |
| 167 | KP_Up 0x48 |
| 168 | |
| 169 | KP_9 0x49 numlock |
| 170 | KP_Prior 0x49 |
| 171 | |
| 172 | Caps_Lock 0x3a |
| 173 | # |
| 174 | # Inhibited keys |
| 175 | # |
| 176 | Multi_key 0x0 inhibit |
bellard | 3d11d0e | 2004-12-12 16:56:30 +0000 | [diff] [blame] | 177 | |
| 178 | # |
| 179 | # Top row |
| 180 | # |
| 181 | section 0x29 |
| 182 | onehalf 0x29 shift |
| 183 | |
| 184 | # 1 |
| 185 | exclam 0x2 shift |
| 186 | |
| 187 | # 2 |
| 188 | quotedbl 0x3 shift |
| 189 | at 0x3 altgr |
| 190 | |
| 191 | # 3 |
| 192 | numbersign 0x4 shift |
| 193 | sterling 0x4 altgr |
| 194 | # 4 |
| 195 | currency 0x5 shift |
| 196 | dollar 0x5 altgr |
| 197 | # 5 |
| 198 | percent 0x6 shift |
| 199 | # 6 |
| 200 | ampersand 0x7 shift |
| 201 | # 7 |
| 202 | slash 0x8 shift |
| 203 | braceleft 0x8 altgr |
| 204 | # 8 |
| 205 | parenleft 0x9 shift |
| 206 | bracketleft 0x9 altgr |
| 207 | # 9 |
| 208 | parenright 0xa shift |
| 209 | bracketright 0xa altgr |
| 210 | # 0 |
| 211 | equal 0xb shift |
| 212 | braceright 0xb altgr |
| 213 | |
| 214 | plus 0xc |
| 215 | question 0xc shift |
| 216 | backslash 0xc altgr |
| 217 | |
| 218 | acute 0xd |
| 219 | dead_acute 0xd |
| 220 | grave 0xd shift |
| 221 | dead_grave 0xd shift |
| 222 | |
| 223 | # |
| 224 | # QWERTY first row |
| 225 | # |
| 226 | EuroSign 0x12 altgr |
ths | 5fafdf2 | 2007-09-16 21:08:06 +0000 | [diff] [blame] | 227 | aring 0x1a |
bellard | 3d11d0e | 2004-12-12 16:56:30 +0000 | [diff] [blame] | 228 | Aring 0x1a shift |
ths | 5fafdf2 | 2007-09-16 21:08:06 +0000 | [diff] [blame] | 229 | dead_diaeresis 0x1b |
bellard | 3d11d0e | 2004-12-12 16:56:30 +0000 | [diff] [blame] | 230 | dead_circumflex 0x1b shift |
| 231 | dead_tilde 0x1b altgr |
| 232 | |
| 233 | # |
| 234 | # QWERTY second row |
| 235 | # |
ths | 5fafdf2 | 2007-09-16 21:08:06 +0000 | [diff] [blame] | 236 | odiaeresis 0x27 |
bellard | 3d11d0e | 2004-12-12 16:56:30 +0000 | [diff] [blame] | 237 | Odiaeresis 0x27 shift |
ths | 5fafdf2 | 2007-09-16 21:08:06 +0000 | [diff] [blame] | 238 | adiaeresis 0x28 |
bellard | 3d11d0e | 2004-12-12 16:56:30 +0000 | [diff] [blame] | 239 | Adiaeresis 0x28 shift |
| 240 | apostrophe 0x2b |
| 241 | asterisk 0x2b shift |
| 242 | |
| 243 | # |
| 244 | # QWERTY third row |
| 245 | # |
| 246 | less 0x56 |
| 247 | greater 0x56 shift |
| 248 | bar 0x56 altgr |
| 249 | mu 0x32 altgr |
| 250 | comma 0x33 |
| 251 | semicolon 0x33 shift |
| 252 | period 0x34 |
| 253 | colon 0x34 shift |
| 254 | minus 0x35 |
| 255 | underscore 0x35 shift |