Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: IceCold on July 18, 2003, 11:45:51 am

Title: How do I hook up a pot and a button to the PC gameport?
Post by: IceCold on July 18, 2003, 11:45:51 am
I would like to hook up 1 potentiometer and 1 button to the gameport.  I would like the pot to be the horizontal axis, and the button to be button 1.  I've seen gameport pinouts on the internet, but when I tried hooking it up, windows wouldn't recognize it.  Is there any way to do this?
Title: Re:How do I hook up a pot and a button to the PC gameport?
Post by: Rocky on July 18, 2003, 01:40:55 pm
I'm currently working on an analog wheel and pedal set up. I think the problem you are having is that Windows is looking for the Y axis before it accepts your wiring as a joystick.

There are ways around this.  You can just hook a spare potentiometer to the y-axis or a resister (since a pot is just a variable resistor).

The other possibility is that your wiring is wrong.  I would add the other axis first to see if that fixes it.


Rocky
Title: Re:How do I hook up a pot and a button to the PC gameport?
Post by: IceCold on July 18, 2003, 03:11:18 pm
I'm currently working on an analog wheel and pedal set up. I think the problem you are having is that Windows is looking for the Y axis before it accepts your wiring as a joystick.

There are ways around this.  You can just hook a spare potentiometer to the y-axis or a resister (since a pot is just a variable resistor).

The other possibility is that your wiring is wrong.  I would add the other axis first to see if that fixes it.


Rocky

Okay, I was wondering if it needed to have 2 axis's.  I'll wire up an additional potentiometer and see if it fixes it.  If it works I'll figure out the type of resistor I need for the y axis to  be in the middle, and then add one.
Title: Re:How do I hook up a pot and a button to the PC gameport?
Post by: Tailgunner on July 18, 2003, 06:38:27 pm
Analog PC joysticks typically use 100k ohm linear taper pots, so a 50k ohm resistor should pass for the y axis pot.

http://www.monmouth.com/~lw4750/ (http://www.monmouth.com/~lw4750/) Lew's wheels is a good reference for such projects.

Butch...