Joystick not working in Mame-libretro
-
I'm able to use my PS3 controll with no issues on Raspberry PI3 and latest Retropie build . I have built a new 2 player with 6 buttons control pad using Ipac 2 , I'm able to navigate through the Retropie menus with no issue joystick works fine. However when I go to play a game the joystick doesn't respond (Mame-libretro) the buttons do work. Also if I select 2 player game everything works fine for player 2 the buttons work on player 1 but not the joystick. I have tried remapping the controller and nothing seems to help.
Please let me know what I should try next.
Thanks, Krupper
-
@krupper is your controller maped as a joystick (-> axis) or as dpad (-> buttons)?
If your joystick is maped to axis than you might want to add these lines to the input config of mame:input_player1_analog_dpad_mode = 1 input_player2_analog_dpad_mode = 1 input_player3_analog_dpad_mode = 1 input_player4_analog_dpad_mode = 1
This maps the joystick axis of the (left) joystick to the dpad of player 1..
If you have 2 joysticks and want to map each one for a seperate player use the value 2 for player 2... if you only have 2 players remove player3 and player4
Play around with that (if your joysticks are mapped as joysticks!)
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.