XXX Chats

Your joypad is automagically configured for libretro (Retro Arch) emulators when you configure your controller in Emulation Station.

You'll know if your controller has been automagically configured if you see a flash of yellow text on the bottom of the screen with your gamepad ID when you start a game.

The value next to it corresponds to the "Select" button.

Pressing the "A" button would then record into the config file as , so Retro Arch will know that the "A" button on your physical controller corresponds to the "A" button on Retro Arch's virtual controller, the Retro Pad.

Therefore, the next time you play a game such as Super Mario Bros.

The following diagrams are for the 3 most common controllers: Super Nintendo, Xbox 360, and Play Station 3.

They can be used as a reference when configuring your controllers.

Hotkeys are combinations of buttons you can press in order to access options such as saving, loading, and exiting games.

The following defaults are set automatically the first time you set up your controller from Emulation Station (the numbers will vary depending the controller you use).For example, the USB gamepad above has an entry for , indicating that the "X" button on the controller (or the button that you associated as "X" during controller setup in Emulation Station) has a value of "0." On the other hand, maybe you are not sure if the values in the file is correct or the file is missing entries for buttons that are available on your own controller, such as a "Home" button. The fluctuation of numbers from -32767 to 32767 correspond to the input on your controller that has a range of motion, such as analog sticks/triggers.If you are interested in figuring out which is your "Select" button, pressing and holding "Select" on your controller will cause one column to switch from off to on.In Retro Pie, the libretro emulator cores are identified with a is the libretro core of the SNES emulator called snes9x2010.Retro Arch and libretro provide ability to configure controllers once for many emulators instead of having to configure each emulator individually.Retro Arch then handles the input (controls) and output (graphics and audio) while the emulator core handles the emulation of the original system.With a few simple changes to the emulator source code, almost any existing emulator could become a libretro core.A Retro Pad has an ABXY layout like a SNES controller plus four shoulder buttons and dual analog sticks like a Sony Dual Shock.You don't have to map all of the Retro Pad buttons to a real world button.Each emulator page on the wiki has a diagram of the original controller for its respective console that will correspond to the same inputs listed below.After you've configured your controller the autoconfig will be created here: input_device = "USB gamepad " input_driver = "udev" input_r_btn = "5" input_save_state_btn = "5" input_start_btn = "9" input_exit_emulator_btn = "9" input_l_btn = "4" input_load_state_btn = "4" input_up_axis = "-1" input_a_btn = "1" input_b_btn = "2" input_reset_btn = "2" input_down_axis = " 1" input_right_axis = " 0" input_state_slot_increase_axis = " 0" input_x_btn = "0" input_menu_toggle_btn = "0" input_select_btn = "8" input_enable_hotkey_btn = "8" input_y_btn = "3" input_left_axis = "-0" input_state_slot_decrease_axis = "-0" As seen above in the config for the USB SNES controller, each input on the controller has an associated value.

Comments Input validating