Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: fogman on September 25, 2003, 11:58:36 am

Title: pedals in Mame
Post by: fogman on September 25, 2003, 11:58:36 am
I've been using the pedals from my Sidewinder wheel for accelerating while using the spinner for steering in games that need 360 deg. steering wheels.  Does anyone know if I can connect the wires coming out of the pedal to a mouse Y axis so that I don't need the wheel hooked up to use the pedals?  It is connected with a standard phone jack, so I think a hack would be possible.

Anyone have any oideas on this? ???
Title: Re:pedals in Mame
Post by: SirPoonga on September 25, 2003, 04:55:26 pm
Pedals aren't controled by mice (optical) input, they are controlled but pots.
Title: Re:pedals in Mame
Post by: grafixmonkey on September 25, 2003, 08:52:21 pm
Are all pedals analog?  because some pedals I have from owning a music keyboard are digital and have nice 1/4" plugs, so they're extremely easy to attach to an ipac...   long as the pedal input is digital...

If the pedals use pots you could hack an analog pc joystick.  Long as the axis you'd hack it to is accessible to Mame.  I haven't played with analog controls in mame yet so I don't know what the limitations are.
Title: Re:pedals in Mame
Post by: fogman on September 25, 2003, 10:26:08 pm
The pedals are analog, that's why I thought they could be hooked up to the oscarcontrols mouse connector.  I guess I don't understand the difference...not sure what exactly a pots is (or pots are?)

Anyway, thanks for the replys...anyone have any other ideas???
Title: Re:pedals in Mame
Post by: Howard_Casto on September 25, 2003, 10:30:36 pm
Doesn't hav anything to do with analog vs digital, it's mice vs non-mice.  Mice are handled quite differently in mame than any other device.  They can't be redefined for the most part and can only be used on virtual inputs labeled in mame as a dial, optical rotary stick, trackball or lightgun.  As a pedal is, well a pedal, this is impossible currently.  
Title: Re:pedals in Mame
Post by: Homebrew on September 25, 2003, 10:31:42 pm
pots = potentiometers.  They vary electrical resistance.  turning the pot one way decreases voltage output, while turning it the other way increases voltage output.  They're commonly used in fan speed controllers.  Maybe not the best explanation, but should give you an idea of what you're dealing with  

-Kevin
Title: Re:pedals in Mame
Post by: SirPoonga on September 26, 2003, 01:03:38 am
pots, how a joystick works.  How analog volume knobs work (older or cheaper stereos).  There is an upper and lower limit to turning.  

Mice use an optical disc to detect motion.  Well ball mice, not optical mice.  a disc with teeth.  It will turn continuously.  I'm sure you've seen oscarcontrols spinners.

Pedal use pots.  So there is an upper and lower limit.  As was told, pots are variable resistors.  They restrict how much electricity flows.  The computer then translates the flow into a number representing the position of the joystick/pedal.
Title: Re:pedals in Mame
Post by: fogman on September 26, 2003, 10:23:31 am
ok, so a cheapjoystick hacked would be ok, say my Dual Strike, of course then I can't use it for my Star Wars yoke.  Hmmm...  Thanks again for the input (no pun intended).  Maybe I'll figure out a way to hack the Sidewinder joystick so that I can use the pedal instead of the throttle or something...

Title: Re:pedals in Mame
Post by: grafixmonkey on September 27, 2003, 01:13:44 pm
Using the throttle would work.  You might look into how easy a sidewinder is to hack.

Also, if you look up some materials on how the PC gameport works, sometimes all you have to do to make a joystick axis is connect a potentiometer to three of the pins.  (and maybe do something basic with the rest).  You might be able to do that approach really easily.  I know my brother did that once and got his own joystick-like device working on the gameport.