Button mapping
-
What can I use to figure out my controllers button map?
I have a generic PS3 controller (afterglow)
I tried to map hot keys the same as my PS3 controller, however it's not the same button mapping...
Thanks in advance
-
There's a file generated after the configure input emulationstation dialog. The joypad config files are located in
/opt/retropie/configs/all/retroarch-joypads
, if you were to compare two configs that you wanted to be the same. Since you're looking for hotkey changes, just make sure that for example,input_save_state_btn
is set to the same value asinput_r_btn
assuming you want the default hotkey locations.Wiki Page showing the default hotkey locations
For a quick reference and assuming all button values are the same between controllers, you can run
diff CONTROLLERNAME1.cfg CONTROLLERNAME2.cfg
to give you a quick listing of the lines that are different between each file. -
I am wanting to use the PS button for the hotkey, but it doesn't match the brand name PS3 controller
-
You can use
jstest /dev/input/js0
or js1, js2 etc... to determine the value of the middle button. Then you can type it into your retroarch-joypads config file.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.