Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: Chunce DeLeone on December 02, 2009, 02:36:13 pm
-
I recentley bought a GunFight Control panel that i want to hook up to a mame machine. The direction controls are simple, it is a primitive 8-way joystick. The gun control is this funky slider thing where the contacts move on and off metal plates, its hard to describe. In mame it looks like these were analog controls but i don't think that is right. Does anyone have an idea as to how to hook this up to a mame machine to get it to work?
-
Looks like it might be a variable resistor made by just using metal plates. Basically a variable pot, and hence would be an analog control.
Do you have a multimeter you can hook up and read the values? If so, you will need to find the range of resistance on the control. A controller with both analog and digital inputs would be your best bet. Something like the A-Pac or U-HID from Ultimarc, or the GP-Wiz (?) from GGG.
-
Its not a variable resistor.
Its very clear from the diagrams that is a series of switches.
If it Was needed / used a variable resistor, then there would be no need
for the 4 metal contact tracks.. as it would only need / use ONE variable contact
track/resistior.
-
So each strip would need to be an independant key press inside mame.
-
Mame maps some discreet controls as anolog in mame (12 way joysticks are another example) You need to convert the digital values to analog to use the control in mame. I'm building an interface for a 12-way rotary to do this at the moment. It's still in the design stages, but I can add support for your guns.
From the schematic the gun puts out a 3-bit grey-code. It doesn't use 0 0 0 so there are 7 possible gun positions:
(Pad 1, Pad 2, Pad 3) 1=gnd
1 0 0, 1 0 1, 1 1 1, 1 1 0, 0 1 0, 0 1 1, 0 0 1
Grey code: http://en.wikipedia.org/wiki/Gray_code (http://en.wikipedia.org/wiki/Gray_code)
-
thanks for the responses,
I agree i think that these are switches rather than pots, i still can't figure out how to wire them up to make it work with mame correctly