RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Joystick not working in Mame-libretro

    Scheduled Pinned Locked Moved Help and Support
    help and suppor
    2 Posts 2 Posters 767 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      krupper
      last edited by

      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

      DarkWolfD 1 Reply Last reply Reply Quote 0
      • DarkWolfD
        DarkWolf @krupper
        last edited by

        @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!)

        System: Raspberry 3 Model B, RetroPie 4.2.1
        Storage: 16gb Micro SD, 64gb USB Drive
        Theme: Updated NBBA

        Documentation solves many problems: https://retropie.org.uk/docs/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        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.