> For the complete documentation index, see [llms.txt](https://wiki.retrobat.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.retrobat.org/controllers/supported-controllers/keyboard.md).

# Keyboard

A standard keyboard is recognised out of the box, to navigate in RetroBat and to play.

## Navigating in RetroBat

The default keys are listed on the [Navigation](https://wiki.retrobat.org/navigation/navigation-keys.md) page. To change them, go to **MAIN MENU > CONTROLLER SETTINGS > CONTROLLER MAPPING** and press a key of the keyboard to configure it like a controller.

## Playing with the keyboard

The keyboard configuration of RetroBat is also used in the games: RetroArch and most emulators get it automatically.

{% hint style="info" %}
For some standalone emulators, the keyboard is not configured automatically: configure the keys directly in the emulator itself.
{% endhint %}

## Computers: the keyboard focus

For computer systems (Amiga, Commodore 64, Amstrad CPC, MSX, Atari ST, ZX Spectrum, DOS…), the keyboard is the keyboard of the emulated computer: games often need many keys.

In RetroArch, some keys are also RetroArch shortcuts (F1 menu, Escape to quit, F2 / F4 save states…, see [Hotkeys](https://wiki.retrobat.org/navigation/hotkeys.md)). To give the **whole keyboard** to the emulated computer, enable **KEYBOARD FOCUS** in the advanced options of the system (or of the game) > **CONTROLS**:

* the keyboard keys are all sent to the game, and the RetroArch keyboard shortcuts are disabled;
* press **Scroll Lock** to turn the focus off (to use the shortcuts again) and back on, while playing;
* the controller hotkeys still work (for example **HOTKEY + START** to quit).

This option is available for the RetroArch cores of computers, and for ScummVM and the Quake / Doom ports.

## Playing computer games with a controller (PadToKey)

Many computer games are played with the keyboard only. With PadToKey, the buttons of your controller send keyboard keys, so you can play these games with a controller. RetroBat provides ready-made profiles for some systems (Amiga, Apple II, Atari ST, FM Towns…), and you can create your own profile for a system or for a game.

See [PadToKey](https://wiki.retrobat.org/controllers/pad2key.md) to create, edit and manage the profiles.

{% hint style="info" %}
The PadToKey options appear only for the systems and emulators that support it.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.retrobat.org/controllers/supported-controllers/keyboard.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
