Repository navigation
Setting up Keyboard Controllers
From Amiberry 2.5 onwards, support is provided for universal gamepad / controller mapping.
There are two options available for this purpose:
- A standard USB or Bluetooth connected device, automatically detected by the host system
- Remapping of keyboard controls (or a keyboard controller device, such as Ultimarc's I-PAC devices) to act as a controller.
To use a regular controller as a joystick device, follow the details on the Setting up Input Controllers page.
Under the Amiberry Input panel, select one of the keyboard layouts in any Amiga port's Device dropdown.
Built-in layouts are:
-
Keyboard Layout A: Numpad directions,
0/5= Fire, Decimal/DEL = 2nd Fire - Keyboard Layout B: Cursor keys, Right Ctrl/Right Alt = Fire, Right Shift = 2nd Fire
- Keyboard Layout C: WSAD, Left Alt = Fire, Left Shift = 2nd Fire
- Keyboard Layout D: Cursor keys, Left Ctrl/Left Alt = Fire, Left Shift = 2nd Fire
- Keyrah Layout: Cursor keys, Space/Right Alt = Fire, Right Shift = 2nd Fire
-
Retroarch KBD as Joystick Player 1-4: use keyboard bindings from the configured RetroArch
.cfgfile
If you wish to change the layout of buttons used for the Keyboard mapping, you will require a RetroArch.cfg file to be read.
If you are using a pre-packaged system, such as RetroPie, controller mapping, you will have already had a RetroArch configuration set up, and you can skip this section.
If you require the creation of your own .cfg file, or wish to use a layout specifically for Amiberry, you can create a file for this purpose with a plain text editor.
The below example details the options which are read for this purpose, and the below example can be copied and modified as required.
# Keyboard input. Will recognize letters ("a" to "z") and the following special keys (where "kp_"
# is for keypad keys):
#
# left, right, up, down, enter, kp_enter, tab, insert, del, end, home,
# rshift, shift, ctrl, alt, space, escape, add, subtract, kp_plus, kp_minus,
# f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12,
# num0, num1, num2, num3, num4, num5, num6, num7, num8, num9, pageup, pagedown,
# keypad0, keypad1, keypad2, keypad3, keypad4, keypad5, keypad6, keypad7, keypad8, keypad9,
# period, capslock, numlock, backspace, multiply, divide, print_screen, scroll_lock,
# tilde, backquote, pause, quote, comma, minus, slash, semicolon, equals, leftbracket,
# backslash, rightbracket, kp_period, kp_equals, rctrl, ralt
#
# Keyboard input, Joypad and Joyaxis will all obey the "nul" bind, which disables the bind completely,
# rather than relying on a default.
input_player1_a = "x"
input_player1_b = "z"
input_player1_y = "a"
input_player1_x = "s"
input_player1_start = "enter"
input_player1_select = "rshift"
input_player1_l = "q"
input_player1_r = "w"
input_player1_left = "left"
input_player1_right = "right"
input_player1_up = "up"
input_player1_down = "down"
# input_player1_l2 =
# input_player1_r2 =
# input_player1_l3 =
# input_player1_r3 =
Amiberry is currently limited to Keyboard remapping for a single input only. ('Player 1')
From the Amiberry GUI you should navigate to the Paths panel.
From here you will need to select the location where your retroarch.cfg file has been stored.
For RetroPie, you should select /opt/retropie/configs/all/retroarch/retroarch.cfg
Once selected, click the 'Rescan Paths' button shown at the bottom of the panel.
- Home
- Quick Start
- Android
- Troubleshooting
- Frequently Asked Questions
- Paths and Files
- Kickstart ROMs (BIOS)
- Amiberry Directories
- Compile from Source
- Using Amiberry with RetroPie
- How to Enable Integer Scaling
- RP9 Packages
- WHDLoad Auto-booting
- WHDLoad Workflow
- WHDLoad Booter FAQ
- WHDLoad DB Structure
- WHDLoad DB Structure (legacy XML)
- Start & Settings
- Hardware
- Media & Storage
- Display & Audio
- Input & Control
- System & Runtime
- Input Mapping Guide
- Setting up Input Controllers
- Setting up Keyboard Controllers
- Custom Events
- RetroArch Commands
- Mouse/Joystick Autoswitching