Homepage › Forums › RetroPie Project › Controller Configuration in RetroPie › PS3 Gamepad not working – Retro Pi 3 on Rasberry Pi 2 B
Tagged: PS3 controller
- This topic has 2 replies, 1 voice, and was last updated 9 years, 2 months ago by Anonymous.
-
AuthorPosts
-
09/14/2015 at 02:06 #106054AnonymousInactive
Hello,
I just bought a new raspberry pi, and I reformatted my old Pi card (it worked on my rasberry pi 1). I’m having issues connecting my PS3 wireless remote.
Here is the issue:
My gamepad isn’t mapped properly on NES and SNES (these are the only emulators i’ve tried). The Up, down, left, right do not regiester in game.
Here is my config file it seems to be loading in my emulator:
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include lineinput_remapping_directory = /opt/retropie/configs/snes/
# video_smooth = false
video_shader = /opt/retropie/emulators/retroarch/shader/snes_phosphor.glslp
# video_shader_enable = true#include “/opt/retropie/configs/all/retroarch.cfg”
So it’s pointing to the retroarch.cfg in the /all directory.
I take a look at my /all/retroarch.cfg, and I don’t see an issue:
input_player1_joypad_index = “0”
input_player1_a_btn = “13”
input_player1_b_btn = “14”
input_player1_x_btn = “12”
input_player1_y_btn = “15”
input_player1_l_btn = “10”
input_player1_r_btn = “11”
input_player1_l2_btn = “8”
input_player1_r2_btn = “9”
input_player1_l3_btn = “1”
input_player1_r3_btn = “2”
input_player1_start_btn = “3”
input_player1_select_btn = “0”
input_player1_left_btn = “7”
input_player1_up_btn = “4”
input_player1_right_btn = “5”
input_player1_down_btn = “6”
input_player1_l_x_plus_axis = “+0”
input_player1_l_y_plus_axis = “+1”
input_player1_l_x_minus_axis = “-0”
input_player1_l_y_minus_axis = “-1”
input_player1_r_x_plus_axis = “+2”
input_player1_r_y_plus_axis = “+3”
input_player1_r_x_minus_axis = “-2”
input_player1_r_x_minus_axis = “-3”
input_exit_emulator_btn = “16”Am I missing anything?
Can someone post their retroarch.cfg with a PS3 controller mapped?Thanks,
09/15/2015 at 16:50 #106136AnonymousInactiveI ended up removing the code and used the GUI from emulation station to remap the keys and I ended up with this:
input_device = “Performance Designed Products Wireless Controller for PS3”
input_driver = “udev”
input_y_btn = “0”
input_b_btn = “1”
input_a_btn = “2”
input_x_btn = “3”
input_l2_btn = “4”
input_r2_btn = “5”
input_l_btn = “6”
input_r_btn = “7”
input_start_btn = “8”
input_select_btn = “9”
input_l3_btn = “10”
input_r3_btn = “11”
input_l_x_minus_axis = “-0”
input_l_x_plus_axis = “+0”
input_l_y_plus_axis = “+1”
input_l_y_minus_axis = “-1”
input_r_y_plus_axis = “+3”
input_r_y_minus_axis = “-3”
input_r_x_minus_axis = “-2”
input_r_x_plus_axis = “+2”
input_up_btn = “h0up”
input_down_btn = “h0down”
input_left_btn = “h0left”
input_right_btn = “h0right”
input_menu_toggle_btn = “3”
input_enable_hotkey_btn = “9”
input_state_slot_decrease_btn = “h0left”
input_save_state_btn = “7”
input_exit_emulator_btn = “8”
input_load_state_btn = “6”
input_reset_btn = “1”
input_state_slot_increase_btn = “h0right”I do have some questions though.
I want to remap the following controls:
input_menu_toggle_btn = “3”
input_enable_hotkey_btn = “9”
input_state_slot_decrease_btn = “h0left”
input_save_state_btn = “7”
input_exit_emulator_btn = “8”
input_load_state_btn = “6”
input_reset_btn = “1”
input_state_slot_increase_btn = “h0right”So the
save is Select + L2
load is Select + R2
Exit is Select + StartHow do you make these key combinations?
Thanks
09/15/2015 at 19:27 #106145AnonymousInactiveOk, in the retroarch.cfg, there were two entries that I had to remove that pre-defined the hotkey, once removed everything worked as expected.
So what does this mean if you are reading this:
1). Clean the retroarch.cfg file for any Joystick mapping
2). A generic PS3 does not equate to an actual PS3 remote, which is the most interesting tid-bit. (This is for a RockCandy PS3 remote).
2a. If you don’t have a PS3 remote, you may not have to install the bluetooth drivers. (didn’t have to for the rockcandy PS3 remote).
2b. Some controller require you to use the dongle that comes with the remote vs a generic blue tooth.These are just some lesson learned, and I hope it helps someone else from having the same issues I did.
Thanks
-
AuthorPosts
- The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.