Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Analog joysticks in MAME

    Emulator Arcade/PC/Console
    analog joysticks mame
    2
    9
    2939
    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.
    • metahacker
      metahacker last edited by

      I'm running the following setup:
      Ultimarc UltraStik 360 joystick, 6 buttons in SF2 style config wired to it + Start/Select

      I cannot get the analog to work. I know that the joystick is in Analog mode because I spent extensive time ensuring that RGBcommander is running (even working with the developer to support Recalbox specifically) and I know it's switching joystick profiles, and the /dev/js* files are outputting full analog resolution.

      The joysticks work but they act like 8-way/D-Pad....digital, not analog. Games like Afterburner don't have any resolution to the input, as soon as you hit any directional input it's at max.

      I've tried a lot to get it to working....and I'm just at a total loss. I'm using MAME 2003 aka 078 and I've tried other cores (MAME 2010, IMAME4ALL) ..

      I am just using a single analog USB joystick, not a gamepad, so I'm not sure if the analog works when you have both the D-Pad and Analog joystick inputs configured in the controller config.. but you can only setup the D-Pad controls in the controller config when you are using a single directional input.

      Thoughts?

      metahacker 1 Reply Last reply Reply Quote 0
      • metahacker
        metahacker @metahacker last edited by

        as it says in the config wizard "If you have only one joystick, configure the directions keys and skip joystick config" -- sure but does this mean that I also forego analog support?

        I have only one joystick...and it's analog...does configuring it as D-Pad make me lose analog support? The joystick is outputting analog... but what in the whole recalbox/emlulationstation/retroarch/libmame chain is preventing those analog signals from being interpreted as analog and ending up as digital?

        Substring 1 Reply Last reply Reply Quote 0
        • Substring
          Substring @metahacker last edited by

          @metahacker you're a particular case ... Analog on the dpad ... Anyway, it'should be a problem as they shouldnbe recorded as analog sticks, not digital pad (ansupport arcjive would help me.to confirm)

          Next things : make sure your pad is set as analog in retroarch, i don't think it's the case by default

          Former dev - Please reply with @substring so that i am notified when you answer me
          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

          metahacker 1 Reply Last reply Reply Quote 0
          • metahacker
            metahacker @Substring last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • metahacker
              metahacker last edited by

              @substring how? you can't skip d-pad in the controller config wizard... edit config file directly?

              metahacker 1 Reply Last reply Reply Quote 0
              • metahacker
                metahacker @metahacker last edited by

                Hmm It seems I can set up joystick as analog "Joystick 1" if I cheat the Controller Config Wizard using a second controller or keyboard input to skip the D-Pad section...... but then with no D-Pad, the front end menus don't work anymore......

                Substring 1 Reply Last reply Reply Quote 0
                • Substring
                  Substring @metahacker last edited by

                  @metahacker be it "resitered" as dpad doesn't mean we store a digital input 😉 The es_input.cfg file that knows about all controllers stores much more information : is it a button, a hat, or an axis 🙂 And it will be recorded as an axis, hence analogue. So I still think you should dive in the RA configuration

                  Former dev - Please reply with @substring so that i am notified when you answer me
                  Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                  metahacker 1 Reply Last reply Reply Quote 0
                  • metahacker
                    metahacker @Substring last edited by

                    @substring ive tried many many things and still cannot get it to work. i am 100% sure that the joystick is outputting analog to mame (as verified by jstest while game is running) ...

                    i notice that recalbox keeps writing retroarch config with input_libretro_device_p1 = 1 not 5... will that cause it to not work?

                    1 Reply Last reply Reply Quote 0
                    • metahacker
                      metahacker last edited by

                      hmm even with custom cfg file setting value to 5 no change....
                      the analog is digital i just dont get it. ive tweaked everything i can think of and more, dead zones etc.. i just dont get it. arch rivals, sinister, after burner, none of these games will play as analog...

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

                      Want to support us ?

                      75
                      Online

                      90.9k
                      Users

                      26.5k
                      Topics

                      182.3k
                      Posts

                      Copyright © 2021 recalbox.com