Hoylen Sue - 2024-05-10

How does one press the BREAK key on the emulator?

On a physical ZX Spectrum, the break function is invoked by pressing Caps Shift and the Space key. But that doesn't seem to work on Fuse.

I've tried pressing the physical Left-Shift and Space keys on several ports of Fuse, but none of them produced the Break function—they simply typed a space. I tried the native macOS port by Fredrick Meunier (1.5.6), the Windows port by Sergio Baldoví (1.6.0) and the Fedora package (1.6.0-9.fc40). I would have also tried the HomeBrew package of 1.5.7 for macOS (listed on the Website), but HomeBrew says it "has been disabled because it is not maintained upstream".

I had a quick look at the source code, and saw line 53 of keyboard.c maps the physical Escape key to CapsShift-1 on the Spectrum (i.e. the Spectrum "EDIT" function). Is that correct, since I would have thought the Esc key to be an obvious choice for the Break function? Though that doesn't explain why Left-Shift and space doesn't work—perhaps the host operating system treats Shift-Space as special (since ⌘-Space is special on macOS).