# MegaZeux US Key-Mapping Guide

### MegaZeux 2.91j — Lachesis 2010-2019

This guide is current as of February 20th, 2019, and contains updated warnings, annotations, and information for SDL 2.0.

NumL. n/a n/a | / 53 267 | * 55 268 | - 74 269
7 Home 71 263 | 8 ▲ 72 264 | 9 PgUp 73 265 | + 78 270
4 ◀ 75 260 | 5 76 261 | 6 ▶ 77 262
1 End 79 257 | 2 ▼ 80 258 | 3 PgDn 81 259 | Enter 28 271
0 Insert 82 256 | .Delete 83 266

Esc 1 27 |  | F1 59 282 | F2 60 283 | F3 61 284 | F4 62 285 |  | F5 63 286 | F6 64 287 | F7 65 288 | F8 66 289 |  | F9 67 290 | F10 68 291 | F11 87 292 | F12 88 293 |

` 41 96 | 1 2 49 | 2 3 50 | 3 4 51 | 4 5 52 | 5 6 53 | 6 7 54 | 7 8 55 | 8 9 56 | 9 10 57 | 0 11 48 | - 12 45 | = 13 61 | BackSp. 14 8 |

Tab 15 9 | Q 16 113 | W 17 119 | E 18 101 | R 19 114 | T 20 116 | Y 21 121 | U 22 117 | I 23 105 | O 24 111 | P 25 112 | [ 26 91 | ] 27 93 | \ 43 92 |

58 301 | A 30 97 | S 31 115 | D 32 100 | F 33 102 | G 34 103 | H 35 104 | J 36 106 | K 37 107 | L 38 108 | ; 39 59 | ' 40 39 | Enter 28 13 |

L. Shift 42 304 | Z 44 122 | X 45 120 | C 46 99 | V 47 118 | B 48 98 | N 49 110 | M 50 109 | , 51 44 | . 52 46 | / 53 47 | R. Shift 54 303 |

L. Ctrl 29 306 | L. Win 91 311 | L. Alt 56 308 | Space 57 32 | R. Alt 56 307 | R. Win 92 312 | R. Click n/a 1 | R. Ctrl 29 305 |

Key: key_code / key(n) key_pressed |  | Normal key—always available for use. |  | Game key—can be disabled via Robotic or other means. |  | Debug key—has a unique function only while testing. |  | This key may be missing between keyboards. |  | Unusable key—can not or should not be used ever.

| F12 is currently used as the screenshot key on platforms that support screenshots. Screenshot support can be disabled in the config file. Other function keys (e.g. F13) are not supported by MegaZeux.
| The results for this value can vary between systems or may not be detected at all by MegaZeux. Personal use only.
| In previous versions of MegaZeux, Caps Lock would be held while enabled. In 2.90, it acts like a regular key.
| Modifier keys have slightly different repeating behavior than regular keys and may trigger special MZX or operating system functionality in conjunction with other keys. The Windows key (aka "Meta", "Super") is equivalent to the Command key on Mac keyboards, however, the positions of these keys are swapped with the Alt keys (which may be called "Option").

Game keys can be bypassed using game settings, Robotic, or the config file.

Enter | The game menu can be disabled by setting the ENTER_MENU counter to 0.
Escape | The escape menu can be disabled by setting the ESCAPE_MENU counter to 0. The user can still access this menu by pressing Alt+F4.
F1 | The help menu can be disabled by setting the HELP_MENU counter to 0.
F2 | The settings menu can be disabled by setting the F2_MENU counter to 0. The user can still access this menu by pressing Ctrl+F2 or Alt+F2 unless standalone mode is enabled.
F3/F9 | Saving can be restricted on a per-board basis with the Board Settings dialog or using the Robotic commands enable saving, disable saving, and enable sensoronly saving.
F4/F10 | Loading can be disabled by setting the LOAD_MENU counter to 0.
F12 | Screenshots can be configured by the user with the config file option allow_screenshots.
Space | Shooting can be disabled with the board flags Can shoot and Player attack locked or by the Robotic commands lockplayer and lockplayer attack. The "You can't shoot here!" message can be disabled by setting the BIMESG counter to 0. Both shooting and the behavior that prevents the player from moving while space is held can be disabled by setting the SPACELOCK counter to 0.
F5/Insert/Delete | Bomb switching and bombing can be disabled with the board flags Can bomb and Player attack locked or by the Robotic commands lockplayer and lockplayer attack. The "You can't bomb here!" message can be disabled by setting the BIMESG counter to 0.
Arrows | Player movement can be disabled with the board flags Player locked N/S and Player locked E/W or by the Robotic commands lockplayer, lockplayer ns, and lockplayer ew. The behavior that causes the viewport to snap to the player when the player moves can be disabled with the Robotic command lockscroll.