USB keyboards
Cartridge firmware 2.0 or newer accepts standard USB HID boot keyboards. Connect one directly with a suitable USB host adapter, through a USB hub, or through the I/O expander. No keyboard configuration is needed on the expander.
A boot keyboard supports the basic USB keyboard protocol. Some gaming keyboards offer a compatibility or BIOS mode for this. Keyboards that only provide NKRO reports (a different protocol for many simultaneous keys) are not supported.
Start typing
- Connect the keyboard while the cartridge is in USB host mode.
- Open BASIC or another Spectrum program that accepts keyboard input.
- Type using the mappings below. To use the web tools at the same time, connect over Wi-Fi.
This supplies Spectrum key presses, so BASIC modes, keyword entry and game controls still behave as they do on the original keyboard. It is not a PC text editor or a conversion of your computer's keyboard layout.
Key mappings
| USB key | Spectrum input |
|---|---|
| Letters, digits, Enter, Space | Corresponding Spectrum key |
| Either Shift | Caps Shift |
| Either Ctrl or Alt | Symbol Shift |
| Left / Down / Up / Right | Caps Shift + 5 / 6 / 7 / 8 |
| Backspace or Delete | Caps Shift + 0 (Delete) |
| Escape | Caps Shift + Space (Break) |
| Tab | Caps Shift + Symbol Shift (extended mode) |
| Caps Lock | Caps Shift + 2 (Caps Lock) |
| Punctuation keys | Symbol Shift combinations, using US key positions |
For example, Shift with a digit sends Caps Shift with that digit; it does not necessarily type the symbol printed above the digit on your USB keyboard. Punctuation keys use US positions, so the result may differ from the labels on a non-US keyboard. Unsupported punctuation and media keys are ignored.
Using other input devices
USB keyboard input combines with the web keyboard and controller-to-key mappings. Disconnecting a USB keyboard releases its held keys without releasing the other devices' input. USB keyboards do not use up joystick mapping slots.
Keyboard input uses the same Spectrum keyboard interface as the web keyboard. Support for a USB keyboard does not remove the hardware compatibility limits of that interface on a particular Spectrum or clone.
Limitations and troubleshooting
- Up to six ordinary keys plus modifiers can be reported at once. Too many held keys may temporarily release the keyboard's input; release them and try again.
- Caps Lock and Num Lock lights on the USB keyboard are not synchronized with the Spectrum.
- If nothing happens, check USB host mode, try the keyboard's boot/BIOS mode if available, and reconnect it.
- A keyboard that only supports NKRO, consumer/media controls or Bluetooth pairing is not supported by this feature.
See Compatibility and Updating Spectranext.