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