MAME analog control

A place where you can chat about anything that isn't to do with games!
Post Reply
User avatar
louisg
Posts: 2897
Joined: Wed Jul 20, 2005 7:27 pm
Location: outer richmond
Contact:

MAME analog control

Post by louisg »

I've been playing MAME games with my 360 pad, and have been wondering a few things. First, it seems like the only usable analog sensitivities are 1-3%, with somewhere around 1 or 2 feeling fairly close to the arcade. Second, in games with a dial, is there any way at all to get the thing to autocenter? I love Speed Buggy, but it's pretty much unplayable with the analog-stick -> dial controls the way they are by default.
Humans, think about what you have done
User avatar
ReKleSS
Posts: 420
Joined: Sat Sep 03, 2005 1:38 am

Re: MAME analog control

Post by ReKleSS »

I poked at the code some more after you left and eventually got something resembling auto-centering working. Anyway, I'll start from the top.

MAME assigns Speed Buggy a dial controller, which only gives relative inputs, as opposed to paddle which gives absolute inputs. Paddle is easy enough to center because the value just goes back to 0. Mame doesn't keep track of the actual value for dial controls, so you could only auto-center by tracking the inputs the game receives and trying to figure out where it thinks the dial is. With a bit of fiddling around I got it to mostly work, but due to the way the input code is set up I think some drift is unavoidable.

As for analog sensitivity, I'm not seeing a problem. Playing Afterburner 2 with a DC pad at 100% sensitivity was fine (sort of... I'm still crap at afterburner).
弾もまたいで通る
User avatar
Ed Oscuro
Posts: 18654
Joined: Thu Dec 08, 2005 4:13 pm
Location: uoıʇɐɹnƃıɟuoɔ ɯǝʇsʎs

Re: MAME analog control

Post by Ed Oscuro »

I assign a mouse to all the wacky controller types - worth a shot I reckon.
Post Reply