Build Your Own Arcade Controls Forum
Main => Driving & Racing Cabinets => Topic started by: processedmeat on June 04, 2017, 08:29:02 pm
-
Hi, was wondering if you can use an analog pedal as a digital one in mame?
In the mame controls menu screen, pressing the analog pedal doesn't do anything when the game calls for an digital one.
It would seem easy to implement, like if the value is over a certain amount, then it triggers the press.
-
It should work. Make sure there isn't a separate INI file for the ROM with joystick input disabled.
-
It should work. You have to calibrate the pot so that when the pedal is floored, the pot is full turned (zero resistance).
Pay attention or you will break it.
Very likely the pedal will not work correctly with analog controls after that.
-
Nah, MAME should sense it as soon as there is ANY movement as long as it shows up and is working under game controllers in windows.
-
Ah, yes. Mame can use analog inputs in place of digital. For some reason I was referring to something more general, not mame exclusive

-
Thanks for the replies everyone. I guess one of my pedals was a little flaky so I cleaned the potentiometer with some deoxit. Side question, can you adjust the deadzone using the joystick deadzone setting in the mame.ini? I tried but it doesn't seem to do anything.
-
Thanks for the replies everyone. I guess one of my pedals was a little flaky so I cleaned the potentiometer with some deoxit. Side question, can you adjust the deadzone using the joystick deadzone setting in the mame.ini? I tried but it doesn't seem to do anything.
It won't affect the deadzone if you have it mapped to a digital input.
On one of my old setups, I left the pot in place but also mounted a switch on the clutch pedal that would be tripped when the pedal was fully depressed.
It was easy because the happ pedals used a fan gear. I just mounted a microswitch with a lever so the fan gear would hit the lever.
IIRC, there was one game where the original pedal was a digital switch but I didn't want the clutch pedal triggering it until fully depressed.
-
It won't affect the deadzone if you have it mapped to a digital input.
On one of my old setups, I left the pot in place but also mounted a switch on the clutch pedal that would be tripped when the pedal was fully depressed.
It was easy because the happ pedals used a fan gear. I just mounted a microswitch with a lever so the fan gear would hit the lever.
IIRC, there was one game where the original pedal was a digital switch but I didn't want the clutch pedal triggering it until fully depressed.
I doing the same...because i wanted use both kind of games...
Full explanation on my blog:
http://supercoin.blogspot.it/2017/04/driving-arcade-cab-il-pedale-con.html (http://supercoin.blogspot.it/2017/04/driving-arcade-cab-il-pedale-con.html)
At the moment i have some issue to setup the offset of the pot...after installation have a negative range (-234 to -450); i should probably open again the pedal and adjust manually the range...(i think its the only way)