Skip to content

GUI: Input

Dimitris Panokostas edited this page Mar 23, 2023 · 4 revisions

PanelInput

In this panel, you can configure all the Input options for Amiberry (e.g. Mouse and Gamepad).

In the emulated Amiga, there are normally 2 ports: Port 0 is meant for the system Mouse, and Port 1 is meant for Joysticks, by default. Additionally, there was an adapter that connected to the Parallel port on real Amigas, and allowed 2 extra joysticks to be connected. Some games supported that adapter, and could have up to 4 joysticks simultaneously. Amiberry emulates that with Ports 2 and 3 (these can only be used by Joysticks and do not support the extra modes the normal ports have).

Port 0-1

Each device can only be assigned to one port, so it will be moved around depending on what you select in the dropdowns. Besides the System mouse, there are some Keyboard options available to emulate a joystick as well:

  • Keyboard Layout A, B, C: These allow you to use the mentioned keys as a joystick, in case you don't have a real joystick available
  • Keyrah Layout: This is a special option for the Keyrah adapter specifically, which uses a different layout.
  • Retroarch KBD (Player1-4): These 4 options are meant for Retroarch environments. They will pick up any mapping you have in your retroarch configuration, for player1 to player4, and use those mappings as joysticks.

Autofire

You can enable Autofire on a port, if you want. The default is No autofire.

Mode

Each port can have a range of mode options as well. The Default will try to detect a Mouse or Joystick device automatically.

Swap ports

This option allows you to swap the contents of Port 0 with Port 1

Mouse/Joystick autoswitching

This option enables a feature that will automatically switch which device is connected to a port (between a mouse and a joystick), depending on which button or direction was used on the device.

Autofire rate

This option allows you to fine-tune the auto-fire rate, if you have that enabled.

Digital/Analog joy-mouse speed

When emulating a mouse with a Joystick, you can change the speed of the emulated mouse here

Mouse speed

This slider allows you to fine-tune the mouse speed under emulation

Virtual mouse driver

This options changes the mouse input from the default of Relative mode, to Absolute (using the direct input from the host operating system). This is essentially the same as if you were using Tablet or Touch input for the mouse, and it will not be compatible with every application. When you enable this option, you can also choose the mouse cursors to be visible: Both will show both the host OS and the emulated Amiga cursor, Native only will only show the Amiga cursor and Host only will only show the Host OS cursor.

Magic Mouse untrap

This option will enable automatic detection of the position of the mouse pointer, and it will try to release the mouse if it goes outside the bounds of the Amiberry window, and capture it again when it enters it. It's mostly useful in situations where Amiberry is running in Windowed mode, and you want to swap from Amiberry to Linux and back easily.

Remap

PanelInput-Remap

You can also choose to create a custom mapping for your controller here, by using this button. This will open a new window, with a guide to go through all the available buttons on your controller. Once you're finished, a new mapping will be saved to disk for this controller and will be used automatically from now on. Custom user mappings are added to the controllers/gamecontrollerdb_user.txt file.

Clone this wiki locally