Mint 18 X-Box 360 wired controller not working in retroarch
-
Trying to get retropie running on my linux mint 18 box.
I have installed retropie with the emulationstation-dev experimental package (for the kids view). I configured the xbox360 controller in emulationstation and it works great in there, however, it doesn't work in most emulators or in the retroarch GUI. I see the yellow text when a game launches with something like
Microsoft X-Box 360 pad configured in port#0.
mupen64plus-glide64 is the only one that works, and reliable works, but this may be because I have installed mupen64plus outside of retropie too.I've tried this with an official Microsoft pad and a rock candy wired pad. Both behave the same. Nothing out of the ordinary appears to be printing the logs in
/dev/shm/runcommand.log
snes cores I've tried:
lr-snes9x2005
lr-snes9x2010
nes cores
lr-fceumm
lr-nestopia
lr-quicknes
psx cores
lr-beetle-psx
lr-pcsx-rearmed
I've double checked the configs in
/opt/retropie/configs/all/retroarch-joypads/
and everything looks good. hotkey commands all work in mupen64plus, but If I try launching the RGUI menu I have to force close the application because the controller is unresponsive. Same thing if I launch the retroarch gui from the retropie menu in ES.I've also tried installing/uninstalling both the xpad and xboxdrv drivers from the retropie-setup script as recommended on the wiki, but without any change.
Here's my retroarch-joypad config files and my OS info. Thanks.
#rock candy pad input_device = "Generic X-Box pad" input_driver = "udev" input_r_y_plus_axis = "+4" input_l3_btn = "9" input_r_x_minus_axis = "-3" input_l_btn = "4" input_load_state_btn = "4" input_start_btn = "7" input_exit_emulator_btn = "7" input_l_y_minus_axis = "-1" input_up_btn = "h0up" input_r_y_minus_axis = "-4" input_a_btn = "1" input_b_btn = "0" input_reset_btn = "0" input_enable_hotkey_btn = "8" input_down_btn = "h0down" input_l_x_plus_axis = "+0" input_l_y_plus_axis = "+1" input_r_btn = "5" input_save_state_btn = "5" input_r2_axis = "+5" input_r3_btn = "10" input_right_btn = "h0right" input_state_slot_increase_btn = "h0right" input_x_btn = "3" input_menu_toggle_btn = "3" input_select_btn = "6" input_l_x_minus_axis = "-0" input_y_btn = "2" input_left_btn = "h0left" input_state_slot_decrease_btn = "h0left" input_r_x_plus_axis = "+3" input_l2_axis = "-2"
#Microsoft pad input_device = "Microsoft X-Box 360 pad" input_driver = "udev" input_r_y_plus_axis = "+4" input_l3_btn = "9" input_r_x_minus_axis = "-3" input_l_btn = "4" input_load_state_btn = "4" input_start_btn = "7" input_exit_emulator_btn = "7" input_l_y_minus_axis = "-1" input_up_btn = "h0up" input_r_y_minus_axis = "-4" input_a_btn = "1" input_b_btn = "0" input_reset_btn = "0" input_enable_hotkey_btn = "8" input_down_btn = "h0down" input_l_x_plus_axis = "+0" input_l_y_plus_axis = "+1" input_r_btn = "5" input_save_state_btn = "5" input_r2_axis = "-5" input_r3_btn = "10" input_right_btn = "h0right" input_state_slot_increase_btn = "h0right" input_x_btn = "3" input_menu_toggle_btn = "3" input_select_btn = "6" input_l_x_minus_axis = "-0" input_y_btn = "2" input_left_btn = "h0left" input_state_slot_decrease_btn = "h0left" input_r_x_plus_axis = "+3" input_l2_axis = "-2"
system info
Linux 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
DISTRIB_ID=LinuxMint DISTRIB_RELEASE=18.1 DISTRIB_CODENAME=serena DISTRIB_DESCRIPTION="Linux Mint 18.1 Serena" NAME="Linux Mint" VERSION="18.1 (Serena)" ID=linuxmint ID_LIKE=ubuntu PRETTY_NAME="Linux Mint 18.1" VERSION_ID="18.1" HOME_URL="http://www.linuxmint.com/" SUPPORT_URL="http://forums.linuxmint.com/" BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/" VERSION_CODENAME=serena UBUNTU_CODENAME=xenial
-
Small update. I tried configuring a keyboard in emulation station to see if the keyboard would work. Retroarch doesn't work with the keyboard either. No controls in emulators and no retroarch controls with the hotkey buttons.
-
I finally got this to work. The key was installing both xboxdrvr and xpad. I also copied the working xbox 360 controller config from the wiki (here) and restarted the computer. After that, all the controls started working except for the d-pad. I had to go into the retroarch RGUI menu (the keyboard was also working now, so I had to use it to navigate the menu since the d-pad wasn't working) and adjust the controls for the d-pad in all the emulators. For some reason, it was the only part that wasn't working. I did notice that my triggers are handled differently for the two types of controllers. The 360 controller the triggers act as axis while the rock candy one is treated as buttons. This changed the axis that are used for the d-pad (which might also be weird. I would have expected the d-pad to be buttons, but that's no the case).
At any rate , I finally got this working. Hope this helps if someone else is having similar issues.
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.