Batocera Keyboard Controls & How to Exit a Game (Controller + Keyboard Shortcuts Guide)

Liam Parker By Liam Parker
|
Oct 20, 2026
|
18 min
Batocera in-game hotkey shortcuts diagram showing Hotkey plus Start to exit games, Save State, Load State, and RetroArch menu

Quick Answer

To exit a game in Batocera using a controller, press Select+Start (or Home+Start) at the same time. To exit a game in Batocera using a PC keyboard, press Alt+F4 to close any emulator immediately, including standalone PlayStation 2 and GameCube emulators, or press Esc twice inside RetroArch cores.

How to exit a game in Batocera using controller hotkeys or PC keyboard shortcuts
Default Batocera in-game hotkey combinations: hold your assigned Hotkey button (Select or Home) and press Start to exit back to the EmulationStation menu.

Below are the exact keyboard controls, controller hotkey combinations, and configuration fixes to exit any running emulator cleanly without ever pulling the power cord.

How to Exit a Game in Batocera Immediately (Keyboard vs. Controller Shortcuts)

You can exit any running Batocera game immediately by pressing Hotkey + Start on a gamepad or Alt + F4 on a keyboard.

Getting trapped inside a full-screen arcade or console game is a rite of passage for almost every first-time Batocera player. You boot up your laptop or mini PC from an external USB 3.0 hard drive, launch a quick round of Tekken 3 or Super Mario World to test your display, and suddenly realize there is no on-screen "Quit to Menu" button.

Because Batocera is engineered to feel like a dedicated living-room console rather than a desktop computer, it hides operating-system window borders and relies on two-button chord shortcuts. As documented in the official Batocera basic commands reference, all in-game functions revolve around holding down your designated [HOTKEY] button (Select or Back by default) and tapping a second button:

Batocera In-Game Controller Hotkey Combinations (Default Mapping)
SELECT+START (Quit Game) Closes the active emulator immediately and returns to the EmulationStation console wheel
SELECT+Y (Save State) Saves an instant snapshot of your exact frame and memory state to the active slot
SELECT+X (Load State) Restores your most recent snapshot from the currently selected save slot
SELECT+A (RetroArch Menu) Opens the in-game Libretro Quick Menu to change shaders, aspect ratios, or disc images
SELECT+B (Soft Reset) Resets the virtual console cartridge or disc without exiting back to the main menu
SELECT+D-Pad Up/Down Cycles through Save State slots 0 through 9 so you never overwrite an older backup

Notice how those shortcuts follow the physical position of the buttons rather than the letters printed on the plastic shell. On a standard Xbox Wireless Controller, Select is the two-squares View button, Y is the top face button (North), X is the left face button (West), B is the right face button (East), and A is the bottom face button (South).

Xbox vs Nintendo SNES controller button layout comparison for Batocera hotkey combinations
Batocera maps face buttons by physical compass direction (North, South, East, West) rather than the engraved Xbox vs. Nintendo letters.

If your controller is unplugged, unmapped, or ignoring button chords, reach for your computer keyboard instead:

  • Universal Keyboard Exit (Alt+F4): Hold Alt and press F4 on your PC or laptop keyboard. In Batocera's Linux window manager, Alt + F4 sends an immediate termination signal to whichever emulator window has focus. Unlike Esc, which only works inside Libretro cores, Alt + F4 cleanly exits every emulator on the drive, including standalone PlayStation 2 (PCSX2), GameCube (Dolphin), Xbox (Xemu), and PlayStation 3 (RPCS3).
  • RetroArch Core Exit (Esc): When playing 8-bit, 16-bit, or PlayStation 1 systems that run inside Libretro RetroArch cores, pressing Esc (or tapping Esc twice if Confirm Quit is enabled) closes the game and brings you back to the system wheel.
In-game Batocera hotkey combinations chart showing Select plus Start to exit games
Holding Select + Start on a configured controller or pressing Alt + F4 on any PC keyboard returns you immediately to the system wheel.

Keeping both shortcuts in mind guarantees you can exit back to the main console wheel whether your wireless controller is paired or sitting on the charger.

Press Alt + F4 on any connected keyboard or Select + Start on a configured controller to exit any Batocera game immediately and return to the EmulationStation menu.

Complete Batocera Keyboard Controls Table (Main Menu, F1 File Manager & In-Game)

A standard USB or laptop keyboard controls every Batocera menu, from launching games with Enter to managing ROM folders with F1.

Use this three-step keyboard workflow whenever you are testing a Batocera drive on a laptop or desktop PC without a gamepad connected:

  1. Navigate the Main Console Wheel: Use the Arrow Keys to scroll systems, press Enter (or S) to launch a game, and press Backspace (or A) to go back.
  2. Open System Settings or File Manager: Press Space on the main screen to open the EmulationStation MAIN MENU, or press F1 to open the Linux File Manager (PCManFM).
  3. Save, Pause, and Exit In-Game: Inside RetroArch games, press P to pause, F2 to save state, F4 to load state, and Alt+F4 to quit back to the menu.

Many PC players assume Batocera requires a controller before you can even browse your game list. In reality, Batocera has full native keyboard bindings across all three layers of the system: the EmulationStation frontend wheel, the built-in desktop File Manager (F1), and the in-game RetroArch emulator core.

Navigating the Batocera EmulationStation console wheel using PC keyboard controls
You can browse the entire EmulationStation game wheel using your keyboard Arrow Keys, Enter, Backspace, and Spacebar.

One of the most useful keyboard-only features on x86_64 PC and laptop builds of Batocera is the F1 File Manager shortcut. Pressing F1 while sitting on the main console wheel opens a lightweight Linux desktop window (PCManFM) where you can copy ROMs between USB sticks, inspect BIOS files inside /userdata/bios/, or launch standalone emulator configuration tools with a mouse and keyboard. When you finish managing files and want to return to the Batocera menu, simply press Ctrl+Q or Alt+F4 to close the File Manager window.

Here is the complete keyboard shortcut map verified against the official Libretro RetroArch keyboard input documentation and our own Batocera test bench:

System Layer Keyboard Key / Shortcut Exact Function in Batocera.linux Evidence
Universal (All Emulators) Alt+F4 Force-closes any running game or standalone emulator and returns to the main menu Tested on our unit
EmulationStation Wheel Arrow Keys (Up / Down / Left / Right) Scrolls through console wheels, game lists, and settings menus Tested on our unit
EmulationStation Wheel Enter or S Confirms selection or launches the highlighted game (acts as Controller South / A) Manufacturer spec
EmulationStation Wheel Backspace or A Cancels or steps back one menu level (acts as Controller East / B) Manufacturer spec
EmulationStation Wheel Space Opens the MAIN MENU (System Settings, Game Settings, Controller Mapping, Quit) Tested on our unit
EmulationStation Wheel F1 (PC x86_64 only) Opens the PCManFM Linux File Manager and Applications sidebar (Ctrl+Q to exit) Tested on our unit
In-Game (RetroArch Cores) Esc (Press 1x or 2x) Exits Libretro RetroArch emulator cores back to EmulationStation Tested on our unit
In-Game (RetroArch Cores) F1 Toggles the in-game RetroArch Quick Menu (shaders, disc swap, core options) Manufacturer spec
In-Game (RetroArch Cores) F2 / F4 Saves an instant state (F2) or loads the state (F4) in the active slot Tested on our unit
In-Game (RetroArch Cores) F6 / F7 Decreases (F6) or increases (F7) the active Save State slot number Manufacturer spec
In-Game (RetroArch Cores) P / Space Pauses or unpauses gameplay (P) and toggles Fast-Forward speed (Space) Manufacturer spec
In-Game (RetroArch Cores) F8 Captures a PNG gameplay screenshot into /userdata/screenshots/ Manufacturer spec

Table 1: Complete Batocera Keyboard Controls Reference (EmulationStation, File Manager & RetroArch). "Tested on our unit" means we checked it on a device we own. "Manufacturer spec" means the maker states it and we haven't verified it ourselves. "Community reports" means players report it, and results can vary.

Keeping this keyboard map handy means you can test newly added games, check missing firmware files, or safely shut down your system even when a wireless controller battery dies mid-session.

Opening the Batocera Game Settings menu with the Spacebar to select Update Gamelists
Pressing Spacebar on the main console wheel opens the Batocera Main Menu to access Game Settings, Controller Mapping, and Quit options.

Building a Batocera drive from scratch means spending hours mapping standalone emulator hotkeys, hunting down case-sensitive PlayStation 2 and Dreamcast BIOS files, and organizing hundreds of gigabytes of ISO archives. Even worse, installing heavy Windows frontends on your daily work laptop eats up internal SSD space and risks Windows Update breaking your controller drivers right before game night. Our bench-tested 2BlueBox 500GB Portable HDD Batocera Super Console plugs into any USB 3.0 port and boots your PC or laptop straight into 100,000+ games across 71 pre-configured systems with every hotkey pre-mapped, backed by tracked shipping to the US, UK, Canada, Australia, and the EU plus a 30-day replacement guarantee.

Why Hotkey + Start Is Not Working (Fixing Controller Mapping & batocera.conf input btn)

When Hotkey + Start stops working in Batocera, the cause is almost always an unassigned Hotkey Enable button during controller mapping.

Nothing is more frustrating than mapping a brand-new Xbox, PlayStation DualSense, or 8BitDo controller in Batocera, launching a game, and discovering that pressing Select + Start does nothing at all. You press every button combination on the pad, nothing responds, and the game keeps running.

The #1 Culprit: Skipping the Final Hotkey Prompt During Controller Mapping

According to the official Batocera controller configuration guide, the very last item at the bottom of the CONTROLLER MAPPING list is labeled Hotkey (or Hotkey Enable). Here is why that single line trips up so many players:

  • Why Players Skip It: Most gamepads do not have a button literally labeled "Hotkey." When the mapping wizard reaches Hotkey at the bottom of the screen, players assume their controller lacks that button and hold down a button to Skip (Not Defined).
  • What Happens When Hotkey Is Unassigned: Without a defined Hotkey Enable button, Batocera cannot trigger any two-button chord (Quit, Save State, Load State, or RetroArch Quick Menu). You can play the game normally, but you are locked inside once it starts.
  • The Accidental Single-Button Trap: Conversely, if you accidentally assign Hotkey to the Start button itself, pressing Start at a title screen will immediately close the game (Start + Start) before you can ever begin playing.
Batocera Controller Mapping menu screen showing button assignments with an Xbox gamepad
Never skip the final Hotkey prompt at the bottom of Batocera's Controller Mapping screen; assign it to Select or your center Guide/Home button.

Step-by-Step: Re-Mapping Your Controller to Restore Hotkey + Start

Follow these four steps to fix a broken exit shortcut in under sixty seconds:

  1. Exit to the Main Console Wheel: If you are currently stuck in a game, press Alt+F4 on your keyboard to return to the EmulationStation main menu.
  2. Open Controller Mapping: Press Space on your keyboard (or Start on your gamepad) to open the MAIN MENU, select CONTROLLER & BLUETOOTH SETTINGS, and click CONTROLLER MAPPING. Hold down any button on your gamepad until Batocera detects it.
  3. Map Standard Buttons & Assign Hotkey Last: Follow the on-screen prompts for the D-Pad, face buttons, triggers, Start, and Select. When the cursor reaches the final Hotkey prompt at the bottom of the list, press your Select button (or the center Xbox Guide / PlayStation Home button if your controller has one).
  4. Click OK to Save to es_input.cfg: Press your South (A) button on OK. Batocera writes your new layout permanently into /userdata/system/configs/emulationstation/es_input.cfg. For wireless dongle tips and multi-controller player order, see our complete Batocera HDD controller setup and button mapping guide.

Advanced Fix: Customizing Shortcuts via batocera.conf input btn

Players who search for batocera.conf input btn often run into a second quirk: you open the RetroArch menu inside a game, change a hotkey bind, save the configuration, and find that your changes vanished the next time you launch a game.

As explained in the official Batocera advanced RetroArch settings guide, Batocera uses a startup script called Configgen that dynamically regenerates emulator configuration files every time you launch a ROM. If you want custom RetroArch input binds to persist across reboots, you must add them to /userdata/system/batocera.conf over your local network share (\\BATOCERA\share\system\batocera.conf) or via the F1 File Manager:

  • Set a Custom RetroArch Quit Key in batocera.conf: Add global.retroarch.input_exit_emulator = escape (or a specific button index via global.retroarch.input_exit_emulator_btn) inside batocera.conf so Configgen injects that rule on every launch.
  • Disable Confirm Quit Prompt: If RetroArch forces you to press Select + Start or Esc twice, open MAIN MENU -> GAME SETTINGS and toggle CONFIRM QUIT to OFF so a single press exits immediately.
Accessing the Batocera share system folder over Windows File Explorer to edit batocera.conf input settings
Access \\BATOCERA\share\system\batocera.conf over your local network when you need custom RetroArch button overrides to persist across reboots.

While troubleshooting a stuck game, there is one hardware rule you should never break with an external Batocera hard drive.

Windows warning dialog asking to format the Linux ext4 partition when a Batocera HDD is connected
Keep your Linux ext4 SHARE partition healthy: always shut down cleanly via the Batocera Quit menu and always click Cancel if Windows prompts to format the drive.

Following that clean shutdown habit ensures your RPG save states and custom controller profiles survive for years.

Exiting Standalone Emulators (PCSX2, Dolphin & RPCS3) vs. RetroArch Cores

Standalone 3D emulators like PCSX2 and Dolphin bypass RetroArch keyboard binds, requiring Alt + F4 or Hotkey + Start to exit cleanly.

Why does pressing Esc or F1 on your keyboard work inside Super Mario World (SNES) or Crash Bandicoot (PS1), yet fail when you boot up God of War II on PlayStation 2 or Mario Kart: Double Dash!! on GameCube?

The answer lies in how Batocera divides its 70+ systems into two distinct emulator families:

  1. Libretro (RetroArch) Cores: Used for almost all 8-bit, 16-bit, 32-bit, and classic arcade systems (NES, SNES, Sega Genesis, Game Boy Advance, PlayStation 1, MAME, FBNeo). All of these cores share RetroArch's unified keyboard and gamepad layer, so Esc, F1, F2, and F4 behave identically in every game.
  2. Standalone Emulators: Used for complex 6th- and 7th-generation 3D consoles (PCSX2 for PlayStation 2, Dolphin for GameCube and Wii, PPSSPP for PSP, Xemu for Original Xbox, Flycast standalone, and RPCS3 for PlayStation 3). Standalone emulators run in their own native Linux windows outside RetroArch to achieve maximum CPU and Vulkan GPU speed. If you want to understand how Batocera allocates hardware resources to these 3D engines compared to Windows software, read our RetroBat vs. Batocera bootable PC HDD comparison.
PlayStation 2 standalone PCSX2 emulator library running on the Batocera Portable HDD Super Console
Demanding 3D systems like PlayStation 2 run on standalone PCSX2 rather than RetroArch, so use Alt + F4 on a keyboard or Hotkey + Start on a gamepad to exit.

Because standalone emulators do not use RetroArch's F1 Quick Menu, Batocera's Configgen maps universal controller chords and window-manager shortcuts across them:

Emulator Type / System Controller Exit Shortcut Keyboard Exit Shortcut In-Game Settings / Save Menu Evidence
Libretro RetroArch Cores (SNES, GBA, PS1, Arcade) Hotkey+Start Esc (1x or 2x) or Alt+F4 Hotkey+A or Keyboard F1 Tested on our unit
PCSX2 Standalone (PlayStation 2) Hotkey+Start Alt+F4 (Esc only pauses/toggles UI) Hotkey+A opens PCSX2 Pause Menu Tested on our unit
Dolphin Standalone (GameCube & Wii) Hotkey+Start Alt+F4 Hotkey+Y (Save) / Hotkey+X (Load) Tested on our unit
PPSSPP Standalone (Sony PSP) Hotkey+Start Alt+F4 Hotkey+A or Keyboard Esc opens PPSSPP Menu Tested on our unit
Xemu Standalone (Original Xbox) Hotkey+Start Alt+F4 Alt+F4 to close window; saves to virtual HDD Manufacturer spec
RPCS3 / Cemu Standalone (PS3 / Wii U) Hotkey+Start Alt+F4 Configure via F1 File Manager -> Applications before launch Manufacturer spec

Table 2: Exit & Menu Shortcuts Across Batocera Emulator Types (Libretro vs. Standalone). "Tested on our unit" means we checked it on a device we own. "Manufacturer spec" means the maker states it and we haven't verified it ourselves. "Community reports" means players report it, and results can vary.

If you ever need to tweak per-game graphics upscaling, widescreen patches, or controller profiles inside a standalone emulator like PCSX2 or Dolphin, you can also press F1 on the main Batocera console wheel, click Applications in the left sidebar of the File Manager, and open pcsx2-config or dolphin-emu-config directly. Before pushing internal resolution to 2x (720p) or 3x (1080p) in those standalone menus, check our PC and laptop hardware requirements guide for the Batocera HDD Super Console and our Batocera BIOS verification and firmware troubleshooting guide.

Playing 3D retro console games on a Windows laptop booted from a 500GB Batocera USB 3.0 hard drive
A laptop keyboard gives you instant access to Alt + F4 and F1 File Manager alongside your wireless gamepad.

If you are setting up your external drive for the first time, bookmark our complete Portable HDD Super Console BIOS boot guide and our step-by-step guide to adding custom games to your Batocera HDD.

Whether you want a 500GB USB 3.0 Batocera hard drive that turns your laptop into a 71-system arcade, a two-player HDMI TV stick for Friday family nights, or a pocket handheld for flights, compare all three pre-configured 2BlueBox consoles below:

Frequently Asked Questions (FAQ)

How do I exit a game in Batocera using only a keyboard?

Press Alt+F4 on your keyboard to immediately exit any running game in Batocera and return to the EmulationStation console menu. While pressing Esc (once or twice) will exit older 8-bit and 16-bit systems running inside Libretro RetroArch cores, Alt+F4 is the universal Linux window-manager command that cleanly closes both RetroArch cores and standalone 3D emulators like PlayStation 2 (PCSX2), GameCube (Dolphin), and Xbox (Xemu).

Why does pressing ESC not exit PlayStation 2 (PCSX2) or GameCube (Dolphin) games in Batocera?

PlayStation 2 (PCSX2), GameCube/Wii (Dolphin), PSP (PPSSPP), and Xbox (Xemu) run on standalone emulators rather than Libretro RetroArch cores in order to deliver full-speed 3D graphics performance. Standalone emulators do not use RetroArch's Esc quit binding (in PCSX2 and PPSSPP, Esc simply opens the internal pause menu). To exit any standalone emulator back to Batocera's main menu, press Alt+F4 on your keyboard or Hotkey+Start (Select + Start) on your controller.

How do I return to the Batocera game menu from the F1 File Manager?

When you press F1 on the main Batocera wheel to open the Linux File Manager (PCManFM), you can exit back to the EmulationStation console wheel at any time by pressing Ctrl+Q or Alt+F4 on your keyboard, or by clicking File -> Close Window in the top-left menu bar with your mouse.

What button should I set as the Hotkey when mapping a controller in Batocera?

When you run MAIN MENU -> CONTROLLER & BLUETOOTH SETTINGS -> CONTROLLER MAPPING, the final prompt at the bottom of the list asks you to assign Hotkey (Hotkey Enable). You should assign this to either your Select / Back button or your center Home / Xbox Guide / PS button. Never skip the Hotkey prompt, and never assign it to Start or a primary action button (A/B/X/Y), or you will either be unable to exit games or accidentally quit every time you press Start.

Is it safe to turn off my PC with the power button if I get stuck inside a Batocera game?

No. Forcing a hard power-off or unplugging the USB 3.0 cable while a game is running can corrupt your in-game battery saves (.srm) and damage the Linux ext4 (SHARE) file system on your drive. Always press Alt+F4 on a keyboard (or Hotkey+Start on a gamepad) to exit back to the main console wheel first, then press START -> QUIT -> SHUTDOWN SYSTEM so Batocera safely unmounts the hard drive before powering off.

Conclusion

Knowing how to exit a game in Batocera comes down to two reliable shortcuts: Select + Start (Hotkey + Start) on a properly mapped controller, and Alt + F4 on any connected PC or laptop keyboard. Keep Space and F1 in mind when navigating the main menu with a keyboard, make sure you never skip the final Hotkey prompt when mapping a new gamepad, and always shut down through the QUIT menu so your save states stay protected for the next session.

Map your Hotkey button once, keep Alt + F4 in your back pocket, and Press Start.

Technical Sources & Official Documentation