Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Smack on October 22, 2002, 11:45:41 pm

Title: "Lew's Wheels" pedal hack?
Post by: Smack on October 22, 2002, 11:45:41 pm
Any of you guys tried this?
http://www.monmouth.com/~lw4750/electrical.htm (http://www.monmouth.com/~lw4750/electrical.htm)

I'm referring to specifically the "dual axis" set up.

If I'm reading correctly, you can just wire straight into the joystick port. (using the 100k pot idea).

If that was all I needed out of the port... (and was using a ps/2 mouse and a few keys off a hacked keyboard under pure Dos, MAME 36 final) Will I just have to use the "auto" joystick detection to pick up the analog pots? If not "auto" is there a specific joystick driver to use?

Thanks for any insight you guys can lend to this.

Basicaly I've got a spare upright cab, a steering wheel, and a shifter kicking around. I'm just gonna make a driving cabinet. (I'm not gonna use the 2nd axis for braking, I may not even wire it in, I'll just set up a 2nd pedal with a mircoswitch for the braking.)

Word.
Smack



Title: Re:"Lew's Wheels" pedal hack?
Post by: u_rebelscum on October 24, 2002, 07:03:14 am
Any of you guys tried this?
http://www.monmouth.com/~lw4750/electrical.htm (http://www.monmouth.com/~lw4750/electrical.htm)

I'm referring to specifically the "dual axis" set up.

If I'm reading correctly, you can just wire straight into the joystick port. (using the 100k pot idea).

If that was all I needed out of the port... (and was using a ps/2 mouse and a few keys off a hacked keyboard under pure Dos, MAME 36 final) Will I just have to use the "auto" joystick detection to pick up the analog pots? If not "auto" is there a specific joystick driver to use?

Thanks for any insight you guys can lend to this.

Basicaly I've got a spare upright cab, a steering wheel, and a shifter kicking around. I'm just gonna make a driving cabinet. (I'm not gonna use the 2nd axis for braking, I may not even wire it in, I'll just set up a 2nd pedal with a mircoswitch for the braking.)

Word.
Smack

Somebody correct me on this, but I think he is using one of player 2's axes for the brake in the "dual axis" wiring (and the other P2 axis for the clutch if wired).  For mame, this isn't too much of a problem anymore; you just have to assign the pedal on joy2 to the brake, but the game and driver have to be setup for dual axis pedals for the wiring to work.  Most driving games with two pedals per player (except HardDrivin' and PolePosition) have the drivers set up for single axis pedals.

And if you are going to use a switch, you don't want to exactly use the dual axis setup anyway.  Instead, wire the brake switch to one of the buttons (the diagrams only use two of four possible buttons).  You still will have a "single" axis pedal in drives with single axis (for mame at least, since analog input overrides digital input for a given analog axis), but it will act like "dual axis" pedals in games setup for that.
Title: Re:"Lew's Wheels" pedal hack?
Post by: Smack on October 24, 2002, 08:21:44 am
That's what I was figuring on (1 pedal for the gas and 1 microswitch for the brake).

How about initializing it for MAME? I guess I'm just confused about what joystick driver to use or if I even have to. (ie: sidewinder, gravis, auto, etc.)

Regarding the wiring, is it just straight into the joystick port as opposed to hacking a game controller? It appears that the wires are pretty much straight from the respective pins from the gameport right to the 100k pot.

Thanks!

Smack
Title: Re:"Lew's Wheels" pedal hack?
Post by: Tiger-Heli on October 24, 2002, 09:16:34 am
That's what I was figuring on (1 pedal for the gas and 1 microswitch for the brake).
For what you are recommending, you would use the dual-axis setup and wire the gas pot directly to pins 1 and 3, if memory serves.  Wire the brake to any microswitch.

NOTE: you might need to short the Y-axis pins so it looks like a two-axis joystick.  Lew's mentions something about this somewhere.

Quote
How about initializing it for MAME? I guess I'm just confused about what joystick driver to use or if I even have to. (ie: sidewinder, gravis, auto, etc.)
For windows, you could just use the standard joystick (2-button, 2-axis driver).  I don't know for pure DOS, though?

Quote
Regarding the wiring, is it just straight into the joystick port as opposed to hacking a game controller? It appears that the wires are pretty much straight from the respective pins from the gameport right to the 100k pot.
Yes, just straight through to the joystick port.
Title: Re:"Lew's Wheels" pedal hack?
Post by: Smack on October 24, 2002, 08:45:29 pm
Thanks!

I'll probably get to this later on this weekend. I'll post some results when I'm done.

(If I don't wig out and have a fit! ;D)

Smack
Title: Re:"Lew's Wheels" pedal hack?
Post by: Smack on November 08, 2002, 02:04:03 pm
Well, I did the hack and it was easy as could be! I just figured I'd post and share...

I picked up a Pole Position gas pedal for $12. I seapped the Pot out of it for a 100k one as shown on the Lew's Wheels hack.

I picked up a joystick extender cable, hacked it in half, tracked down the lines I needed. I connected they Y axis as shown, then shroted the wires for the X axis.

Under the Mame cfg I'm using a "4button" joystick to get it to detect it. I'm using the dos port of analog mame (with the analog pedal fix.)

Pole position is mint!

Word.
Smack