Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Batocera Retro Console With Keyboard & Mouse

· 7 min read · Home Tech

In this article
  1. Why Keyboard and Mouse Makes Sense for Some Systems
  2. How Batocera Handles Keyboard and Mouse
  3. Hardware Choices for a Keyboard/Mouse Build
  4. Configuring Input for Keyboard and Mouse
  5. Common Problems and Solutions
  6. Costs and Alternatives
  7. Safety and Legal Considerations
  8. Frequently Asked Questions

Yes, you can absolutely build a Batocera retro console around a keyboard and mouse, and for many classic computer platforms it is not just possible but the correct way to play. Batocera is a Linux-based emulation distribution that boots directly into a game launcher, and while most people use it with a gamepad, it fully supports keyboard and mouse input for navigating menus and for emulating systems like Commodore 64, Amiga, DOS, and early PC games that originally required them.

Why Keyboard and Mouse Makes Sense for Some Systems

Batocera emulates dozens of platforms, and the input method should match the original hardware. A gamepad is perfect for console systems like the SNES, Genesis, or PlayStation. But for computer-based platforms, the keyboard and mouse are not a compromise—they are the authentic interface. Games for the Commodore 64, Amiga, Atari ST, DOS, and early Windows titles were designed around a keyboard and often a mouse. Trying to play them with a controller requires mapping dozens of keys to buttons, which is clumsy and often makes games unplayable.

For example, a DOS adventure game like Monkey Island uses a mouse for point-and-click interaction. A keyboard is essential for typing commands in text adventures or for using the many function keys in a game like Ultima VII. Batocera handles this well because it lets you assign keyboard keys to the gamepad buttons, but if you have a keyboard attached, you can just use it directly without any mapping.

How Batocera Handles Keyboard and Mouse

Batocera is built on EmulationStation as its frontend, and it uses RetroArch for most emulators, plus standalone emulators for some systems. Both the frontend and the emulators accept keyboard input natively. When you first boot Batocera, you can navigate the entire menu with the arrow keys and Enter. The default key bindings are standard: arrows move the cursor, Enter selects, Esc goes back, and F1 opens the help menu. You can also reassign these keys in the settings.

For mouse support, Batocera automatically detects a USB or Bluetooth mouse and uses it in the menu. In emulators that support a mouse, such as the Commodore 64 or Amiga cores, the mouse works as a mouse. For systems that originally used a joystick but you want to use the mouse, you can usually configure the mouse to act as a joystick in the emulator's input settings. This is not always perfect, but it works for many games.

Hardware Choices for a Keyboard/Mouse Build

You can build a Batocera machine with any PC hardware, but the choice of keyboard and mouse matters more than the CPU. For the best experience, use a wireless keyboard with a built-in trackpad or a compact keyboard with a separate wireless mouse. This avoids cable clutter and makes the console feel more like a living room device. A mini PC or an old laptop works well as the base—just install Batocera on a USB stick or SSD and boot from it.

If you are using a desktop PC, any standard USB keyboard and mouse will work. For a more retro feel, you can even use a PS/2 keyboard if your motherboard still has the port, but USB is simpler. Batocera also supports Bluetooth keyboards and mice, which is convenient for a couch setup. Just make sure the keyboard has a good layout for the games you want to play—some European Amiga games expect a specific keyboard layout, but that is a minor issue.

Configuring Input for Keyboard and Mouse

When you first launch a game, Batocera will ask you to configure the input device. If you have a keyboard attached, you can press a key to assign it as the player 1 device. You can also go to the main menu, select Controller & Bluetooth Settings, and then Configure Controllers to set up the keyboard. Batocera will prompt you to press a series of keys for each button (D-pad, A, B, X, Y, Start, Select, etc.). You can assign any keys you like, but the default is usually the arrow keys for D-pad, Z for A, X for B, and so on.

For mouse, you do not need to configure anything—it is automatically detected. In RetroArch, you can enable mouse support per core. For example, for the Commodore 64 core (VICE), you can go into the core options and set the mouse to be used as a joystick or as a mouse. For the Amiga core (PUAE), you can assign the mouse to port 0 or 1. Some standalone emulators, like DOSBox, have their own mouse configuration in the emulator's menu.

Common Problems and Solutions

One common issue is that the keyboard does not work in the menu after you have configured a gamepad. This happens because Batocera remembers the last input device. To fix this, go to Controller & Bluetooth Settings and select Forget Bluetooth Controllers or just unplug the gamepad. Another issue is that the mouse cursor is not visible in the menu. This can be fixed by enabling the mouse in the User Interface Settings under Show Mouse Cursor.

If a game does not respond to the mouse, it might be because the emulator core is not set to use a mouse. Check the core options. For DOSBox, you may need to press Ctrl+F10 to release the mouse from the game window. For Amiga, you may need to configure the mouse in the emulator's early startup menu. Also, some games require a joystick even if they are on a computer platform—you can map the mouse to a joystick in RetroArch's input settings.

Costs and Alternatives

Building a Batocera retro console with keyboard and mouse can be very cheap. If you have an old PC or laptop, the cost is essentially zero—just a USB stick for the Batocera image. A new mini PC with an Intel N100 or similar costs around $150-$200, and a decent wireless keyboard/mouse combo is about $20-$30. This is comparable to buying a dedicated retro console like a RetroFlag case with a Raspberry Pi, but with more power and better compatibility for computer systems.

Alternatives to Batocera include Lakka, RetroPie, and Recalbox. Lakka is a minimal RetroArch-only distribution, RetroPie is for Raspberry Pi but can run on PC, and Recalbox is similar to Batocera. Batocera stands out because it is easy to set up and has a polished interface. For keyboard/mouse users, Batocera is a great choice because it has good support for keyboard navigation and mouse in emulators.

When building any retro console, you should be aware of the legal issues around ROMs. Batocera does not include any games—you must provide your own ROM files. Downloading ROMs for games you do not own is copyright infringement in most countries. It is best to use ROMs from games you own, or use homebrew games and public domain software. Also, be careful when downloading Batocera from the internet—only use the official site to avoid malware.

From a hardware safety perspective, ensure your PC has adequate cooling and a power supply that meets its needs. If you are using an old laptop, make sure the battery is not swollen. Batocera runs on any x86_64 PC, and it is generally safe to install on a USB stick—it will not touch your existing hard drive unless you choose to install it there.

Frequently Asked Questions

Can I use a keyboard and mouse at the same time as a gamepad?

Yes, Batocera supports multiple input devices simultaneously. You can use a gamepad for player 1 and a keyboard/mouse for player 2, or use a keyboard for menu navigation and a gamepad for games. In the emulator, you can assign different devices to different ports.

How do I make the mouse work in DOSBox games?

In Batocera, DOSBox is a core in RetroArch. You can enable mouse capture by pressing Ctrl+F10 to lock the mouse to the game window. You can also go to the core options and set the mouse to be used directly. For some games, you may need to configure the mouse sensitivity in the DOSBox settings.

Will a keyboard and mouse work with all emulators in Batocera?

Most emulators support keyboard input, but mouse support varies. Emulators for computer systems like Commodore 64, Amiga, and DOS have mouse support. Console emulators like SNES or Genesis do not use a mouse, but you can map the mouse to act as a joystick if you want.

Can I use a wireless keyboard and mouse with Batocera?

Yes, Batocera supports Bluetooth and USB wireless keyboards and mice. For Bluetooth, you need to pair them in the Controller & Bluetooth Settings menu. Some wireless keyboards with a USB dongle work out of the box as they appear as a regular USB device.

What is the best keyboard layout for retro gaming?

It depends on the system. For DOS games, a standard US QWERTY keyboard works fine. For Amiga games, you may want a keyboard with a numeric keypad, as some games use it. For Commodore 64, the original keyboard had special keys like RUN/STOP, but you can map those to any key in Batocera.

Can I use a trackball or other pointing device?

Yes, Batocera treats any USB or Bluetooth pointing device as a mouse. A trackball works well for games that require precise movement, like the original Marble Madness on the Amiga. Just plug it in and it should be recognized.