Button Mappings

You can send any key press to the emulator using RetroX Button Mappings.

Take in account that games included with RetroX have their button mapping already done for you. You need these mapping only if you are adding your own games.

The default configuration for Atari is this:

UP     = ATR_UP
DOWN   = ATR_DOWN
LEFT   = ATR_LEFT
RIGHT  = ATR_RIGHT
START  = ATR_START
SELECT = ATR_SELECT
TL     = ATR_OPTION
TR     = ATR_HELP
TR3    = ATR_RESET
BTN_A  = ATR_TRIGGER
BTN_B  = ATR_TRIGGER
BTN_X  = ATR_SPACE
BTN_Y  = ATR_SPACE

Valid keys for Atari are:

ATR_A to ATR_Z
ATR_0 to ATR_9
ATR_KEY_UP, ATR_KEY_DOWN, ATR_KEY_LEFT, ATR_KEY_RIGHT
ATR_RESET,ATR_SELECT, ATR_OPTION, ATR_START, ATR_HELP
ATR_ESCAPE, ATR_SPACE

Joystick 1 is:

ATR_UP, ATR_DOWN, ATR_LEFT, ATR_RIGHT, ATR_TRIGGER

Joystick 2 is:

ATR_UP2, ATR_DOWN2, ATR_LEFT2, ATR_RIGHT2, ATR_TRIGGER2

Examples for Atari

Remember that we already made the button mappings for each popular game. These are examples the configuration provided with RetroX:

This is the configuration for Mastertronic’s BMX Simulator. This is a game where the “S” key is used to start the game and the “N” key to select the number of courses, so we mapped to the standard START and SELECT buttons of the gamepad

START  = ATR_S
SELECT = ATR_N

This is a more complex configuration for the game Rescue on Fractalus where there are keys for landing, calling the mothership, turning the engine on/off and others

BTN_A = ATR_L
BTN_B = ATR_TRIGGER
BTN_X = ATR_S
BTN_Y = ATR_B
TL = ATR_KEY_LEFT
TR = ATR_KEY_RIGHT
TL2 = ATR_A