Homepage › Forums › RetroPie Project › Controller Configuration in RetroPie › Playstation 4 Contoller
- This topic has 3 replies, 2 voices, and was last updated 8 years, 7 months ago by missposhosho.
-
AuthorPosts
-
04/02/2016 at 18:24 #122224missposhoshoParticipant
Hi,
Sorry if this is a newbie question but I did try and have a scroll through the posts before asking.
I’m running the latest version of Retro Pie (donwloaded today) on a Rasberry Pi 2. I have used the SD card image and provided and outside of that have only copied roms across into the relevant directories.
My problem is that my playstation 4 controller (connected to the pi via USB cable) will work in the Retro Pi Menus but as soon as I load a game (it does not matter which emulator) the controller will not work and I have to reboot the Pi. I have setup the controller via Emulation Station and it seems to work fine in the Retro Pi Menu just not in any games…
Any ideas?
04/02/2016 at 19:28 #122233gamesfanParticipantOnce in game, try disconnecting the controller and reconnect it.
I have had this happen before over Bluetooth. The fix was a clean install, i must have mucked something up in the configs from a previous version.04/02/2016 at 20:04 #122236missposhoshoParticipantHi
Thanks but I have not touched any configs.. its a clean install
04/03/2016 at 08:56 #122272missposhoshoParticipantI found the solution online. Hope this helps someone.
1. Create a new file in notepad called “Sony-PlayStation4-DualShock4-Controller.cfg”.
2.It should be placed in /opt/retropie/configs/all/retroarch-joypads
3. Delete the file “Sony_Computer_Entertainment_Wireless_Controller.cfg”) that is currently created by Retroarch when you setup the controller by the wizard.
4. Paste the contents below into the file you created in notepad (probably easier to do after step 1. Thats it! It should now work.
input_device = “Sony Computer Entertainment Wireless Controller”
input_driver = “udev”
input_vendor_id = 1356
input_product_id = 1476
input_b_btn = “1”
input_reset_btn = “1”
input_y_btn = “0”
input_select_btn = “8”
input_enable_hotkey_btn = “8”
input_start_btn = “9”
input_exit_emulator_btn = “9”
input_up_btn = “h0up”
input_down_btn = “h0down”
input_left_btn = “h0left”
input_state_slot_decrease = “h0left”
input_right_btn = “h0right”
input_state_slot_increase = “h0right”
input_a_btn = “2”
input_x_btn = “3”
input_l_btn = “4”
input_r_btn = “5”
input_l2_btn = “6”
input_load_state_btn = “6”
input_r2_btn = “7”
input_save_state_btn = “7”
input_l3_btn = “10”
input_r3_btn = “11”
input_l_x_plus_axis = “+0”
input_l_x_minus_axis = “-0”
input_l_y_plus_axis = “+1”
input_l_y_minus_axis = “-1”
input_r_x_plus_axis = “+2”
input_r_x_minus_axis = “-2”
input_r_y_plus_axis = “+5”
input_r_y_minus_axis = “-5”
input_menu_toggle_btn = “12”
input_b_btn_label = “Cross”
input_y_btn_label = “Square”
input_select_btn_label = “Share”
input_start_btn_label = “Options”
input_up_btn_label = “D-Pad Up”
input_down_btn_label = “D-Pad Down”
input_left_btn_label = “D-Pad Left”
input_right_btn_label = “D-Pad Right”
input_a_btn_label = “Circle”
input_x_btn_label = “Triangle”
input_l_btn_label = “L1”
input_r_btn_label = “R1”
input_l2_btn_label = “L2”
input_r2_btn_label = “R2”
input_l3_btn_label = “L3”
input_r3_btn_label = “R3”
input_l_x_plus_axis_label = “Left Analog Right”
input_l_x_minus_axis_label = “Left Analog Left”
input_l_y_plus_axis_label = “Left Analog Down”
input_l_y_minus_axis_label = “Left Analog Up”
input_r_x_plus_axis_label = “Right Analog Right”
input_r_x_minus_axis_label = “Right Analog Left”
input_r_y_plus_axis_label = “Right Analog Down”
input_r_y_minus_axis_label = “Right Analog Up”
input_menu_toggle_btn_label = “PS”
-
AuthorPosts
- The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.