I was thinking about making some sort of detachable analog pedal to add to my cabinet. Anyone got any ideas of how I would do this?
Like how it would interface for example?
Can I use normal PC analog pedals in Mame?
Also for driving games in Mame (ones with analog pedals) in the config menu, what is the 'Analog Pedal Auto-Release <y/n>" thing that I see in there? How does that work?
A couple of days ago I started setting up the ctrlr ini files I want to use in my cab...here is the part that applies:
P1_PEDAL "JOYCODE_1_UP"
P1_PEDAL_EXT "JOYCODE_1_DOWN"
P2_PEDAL "JOYCODE_1_LEFT"
P2_PEDAL_EXT "JOYCODE_1_RIGHT"
This is assuming each pedal is on a different axis (P1 Y-axis, P2 X-axis).
P1_PEDAL "JOYCODE_1_UP"With same assumptions.
P1_PEDAL_EXT "KEYCODE_Y"
P2_PEDAL "JOYCODE_1_LEFT"
P2_PEDAL_EXT "KEYCODE_Y"
U_Rebel: What is the benefit of doing the P1_PEDAL etc stuff outside of default.ini? Is this in case you are using say 1 analog joystick device for eg ad_stick, paddle & pedal, so the inputs may differ per game?
Would your "turbo" button assignment also be like the Weapon Van Assignment for Spy Hunter?
What about games that have multiple gears like Hard Drivin' and Race Drivin'?
I wired a bunch of arcade controls which used 5K pots to Microsoft Sidewinder Dual Strike USB gamepads using 1Up's Star Wars yoke hack design. You can use this hack to connect anything to USB. I simply plug the controllers into a USB hub and connect the hub up to my computer (at least this is the idea...still building my cab, but completed hacking all my gamepads).Did you hack 5 dual Strikes, or are you using some kind of disconnect between the DS and the controls?
PS: The gamepads themselves use 5K pots, so no need tyo try to replace 5K pots with 100K pots to use in the gameport. Also, the gameport is becoming obsolete and replaced by USB, so it made more sense to me to go the USB route. I actually started looking at the wiring gameport website mentioned above and was about to start but 1Up convienced me to try his hack.
I connected a Star Wars yoke, Spy Hunter steering wheel, Sega HAngOn motorcycle steering assembly, and 2 sets of gas/brake pedal assemblies (one will be wired for single-axis and the other wired for dual axis).
Good luck...
UncleT