Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: "Lew's Wheels" pedal hack?  (Read 3826 times)

0 Members and 1 Guest are viewing this topic.

Smack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 306
  • Last login:May 07, 2013, 11:40:41 pm
  • Who changed my avatar?
"Lew's Wheels" pedal hack?
« on: October 22, 2002, 11:45:41 pm »
Any of you guys tried this?
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



Never Let Donkey Kong Use Your Toilet.
(We're talkin' big processed brown bananas...)

Somebody out there stole my sig! LOL

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re:"Lew's Wheels" pedal hack?
« Reply #1 on: October 24, 2002, 07:03:14 am »
Any of you guys tried this?
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.
« Last Edit: October 24, 2002, 07:04:32 am by u_rebelscum »
Robin
Knowledge is Power

Smack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 306
  • Last login:May 07, 2013, 11:40:41 pm
  • Who changed my avatar?
Re:"Lew's Wheels" pedal hack?
« Reply #2 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
Never Let Donkey Kong Use Your Toilet.
(We're talkin' big processed brown bananas...)

Somebody out there stole my sig! LOL

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:"Lew's Wheels" pedal hack?
« Reply #3 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.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Smack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 306
  • Last login:May 07, 2013, 11:40:41 pm
  • Who changed my avatar?
Re:"Lew's Wheels" pedal hack?
« Reply #4 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
Never Let Donkey Kong Use Your Toilet.
(We're talkin' big processed brown bananas...)

Somebody out there stole my sig! LOL

Smack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 306
  • Last login:May 07, 2013, 11:40:41 pm
  • Who changed my avatar?
Re:"Lew's Wheels" pedal hack?
« Reply #5 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
Never Let Donkey Kong Use Your Toilet.
(We're talkin' big processed brown bananas...)

Somebody out there stole my sig! LOL