Homepage › Forums › RetroPie Project › Controller Configuration in RetroPie › XBox One Controller – setup bug (solved)
Tagged: controller
- This topic has 1 reply, 2 voices, and was last updated 9 years, 5 months ago by chrono88.
-
AuthorPosts
-
07/09/2015 at 11:17 #101700halleParticipant
Hello!
I’m new to Retropie and this is my first attempt to use emulation on my Raspberry Pi.
With my setup I’m using a XBox One Controller.
The controller works fine in RetroPie menu, but in the emulated games the left/right/up/down buttons won’t work.The controller is detected and the configuration guide works.
I’ve think there is a bug – and i found a workaround that works for me.
The problem is in the file /retropie/configs/all/retroarch-joypads/Microsoft_X-Box_One_pad.cfg
The original (not working file) looks like this:
input_device = "Microsoft X-Box One pad" input_driver = "udev" input_up = "h0up" input_right = "h0right" input_state_slot_increase = "h0right" input_down = "h0down" input_left = "h0left" input_state_slot_decrease = "h0left" input_a_btn = "0" input_b_btn = "1" input_reset_btn = "1" input_x_btn = "2" input_menu_toggle_btn = "2" input_y_btn = "3" input_l_axis = "+2" input_load_state_axis = "+2" input_r_axis = "-5" input_save_state_axis = "-5" input_l2_btn = "4" input_r2_btn = "5" input_l3_btn = "9" input_r3_btn = "10" input_start_btn = "6" input_exit_emulator_btn = "6" input_select_btn = "7" input_enable_hotkey_btn = "7" 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 = "+3" input_r_x_minus_axis = "-3" input_r_y_plus_axis = "+4" input_r_y_minus_axis = "-4"
The file working (manually edited) looks like this:
input_device = "Microsoft X-Box One pad" input_driver = "udev" input_up_btn = "h0up" input_right_btn = "h0right" input_state_slot_increase_btn = "h0right" input_down_btn = "h0down" input_left_btn = "h0left" input_state_slot_decrease_btn = "h0left" input_a_btn = "0" input_b_btn = "1" input_reset_btn = "1" input_x_btn = "2" input_menu_toggle_btn = "2" input_y_btn = "3" input_l_axis = "+2" input_load_state_axis = "+2" input_r_axis = "-5" input_save_state_axis = "-5" input_l2_btn = "4" input_r2_btn = "5" input_l3_btn = "9" input_r3_btn = "10" input_start_btn = "6" input_exit_emulator_btn = "6" input_select_btn = "7" input_enable_hotkey_btn = "7" 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 = "+3" input_r_x_minus_axis = "-3" input_r_y_plus_axis = "+4" input_r_y_minus_axis = "-4"
Note that the diffrence between the files are missing ‘_btn’ suffix
I hope this post can help other users and also notify the creator of retropie-software. Thanks!
07/10/2015 at 14:31 #101786chrono88ParticipantHey I would like to piggy back on this if i could, With my xbox one controller I am having issues with the exit buttons, I have the config setup to leave the rom and go out back to emulation station but once that occurs the controller basically “bricks” along with system in the menu screen of the SNES for example and I have to restart the console to get control again? any ideas?
-
AuthorPosts
- The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.