MAME Analog Stick Speed/Sensitivity

I’m using MAME Current… for games with an analog type joystick (example vector Star Wars) how can I slow down the speed/sensitivity of the cursor? I’ve set the analog sensitivity setting in the MAME tab menu all the way down to “1” and the cursor still jumps to the edge of the screen very quickly. Is there another setting I should be using for this? I’m just using a standard Xbox elite controller right now. Thanks for the help.

Does it happen too with FBNeo ? If so, i’d suspect your controller’s stick is not recognized as an analog stick or something.

I haven’t used FBNeo for a long time, don’t even have it set up now… but I’m sure this does have something to do with the analog stick status. If someone that knows about this can jump in I appreciate the help.

I’m not sure what you mean by “analog stick status”, hence why i wanted to know if the issue was core-related (in which case it shouldn’t happen with FBNeo) or something in the upper layers (retroarch/os/hardware). Testing this in FBNeo would only be a matter of loading the exact same romset with another core, no additional configuration or alternative romset required.

Sorry… I meant whether it was working as an analog stick… it seems like it is not since the MAME analog sensitivity settings aren’t slowing it down at all.

Star Wars uses analog controls if that’s what you are asking.

I tested it in both MAME and FBNeo and can confirm that, at the very least with default settings, there are major issues in MAME : the cursor always goes back to top right and is crazy fast.

When i tried to lower analog sensitivity through MAME OSD, the speed didn’t seem to decrease, but the cursor wasn’t able to cover the whole screen anymore.

Looks like a MAME issue to me, and if analog sensitivity reduces the range instead of the speed, it is unclear to me if there is a way to make it more playable in MAME.

2 Likes

Thanks… that’s actually really helpful to know someone else gets the same results. I appreciate the reply.

Maybe @hunterk knows something about this? He is always very helpful with these little troubleshootings.

edit It seems like the RA analog to digital settings could have something to do with it, but I’ve already checked those.

Star Wars uses AD stick which by definition is autocentering, and it behaves just fine here in MAME with default settings, when using both analog stick and mouse.

But if the lightgun core option is enabled, then mouse translation will cause it to jump to corners when the cursor goes offscreen.

In general it is bad to have both mouse and lightgun enabled, since trackball games like Marble Madness will behave horribly.

1 Like

@sonninnos Hmmm, not too sure why i had lightgun enabled, maybe i tested something and forgot about it, but after resetting all options i confirm it doesn’t go top-right anymore, it goes bottom-left instead, not all the way to the corner though.

It might be how the machine behaved since FBNeo defaults to the same position, it’s less noticeable there though since autocenter isn’t enabled with default controls.

We still don’t know how to reduce analog speed in MAME, can you provide some guidelines ?

1 Like

Yes… thanks for the reply, sonninnos. I have the light gun and mouse both off in the core options. Like Barbu was saying, it’s really the speed of the analog being too fast (and return to center too fast) to play with a standard xbox controller.

Well because due to the way AD sticks are translated to analog stick as absolute instead of relative the speed can’t really be adjusted like one might expect.

But by adjusting these internal values mouse will behave accordingly, and also d-pad, which you can force to replace the analog stick in RA with the Analog to Digital force option.

2 Likes

Thanks again for the reply. I did have the “analog to digital” option off because it seemed like I would want it set to analog, but I just tried turning that option back on and, and with all analog adjustments in the MAME tab menu set to “1”, it does not change the cursor speed. It moves way too fast to be playable. Please let me know if there are other changes I should make. Thanks again.

Analog to Digital won’t do anything unless it is “forced” if the core is using analog sticks for real. I clearly stated that those internal analog adjustments won’t affect real analog stick in this case, but only d-pad and mouse.

Ok… I’m not a very smart guy, so thanks for bearing with me. The analog to digital “forced” option doesn’t change anything… so you are suggesting play with the d-pad and there is no option to use the analog xbox stick? I have an Ultimarc stick in my arcade controller which works as a mouse, but hasn’t been used in a while if that is the only option.

The point of Analog to Digital is that it makes analog stick to press d-pad just as if using d-pad, and it is working fine here.

Ok… I appreciate all your replies… but that was my original question in all this… why isn’t it working for me. It’s great that it’s working for you and that means it’s possible, but I’m doing something wrong and it’s not working for me. It’s probably something simple and everyone can laugh at my mistake once I have it figured out, but I’m not quite there yet.

I can’t think of anything else except that you have messed up the binds or remaps so that d-pad is pressing analog stick directions.

1 Like

Ok, that’s possible… I’ll check into it tonight. Thanks.

Ok, I managed to get it working tonight using the “forced analog” and dpad settings. The problem, of course, was my fault and was that I wasn’t getting the game control mappings in RA to save properly. However, thanks to the patience and advice of sonninos, I can get the proper speed simulated now. Thanks for hanging in there with me.

@sonninnos I was reading this topic and a question came to my mind.

I have tried the MAME(current) core on android and the system22 games have graphical glitches and run slow. However if I use MAME4droid 2024 (which is also using the latest mame) they run perfect whithout glitches. What option do I have to enable in the retroarch core for them to work properly?