SV: [basicstamps] Re: Joystick
Archiver
Posts: 46,084
Greetings!
It's a while since I last messed with GamePads and Joysticks, but...
If I don't remember too wrong, the PC type Gamepads uses the same connector
as the Joysticks, and the motion control there is analogue.
It's quite possible that the directional pad just switches in 4 different
resistors , connected to the same pin, depending on the direction you're
moving it.
What kind of Gamepad are you using, and for what type of computer was it
originally intended?
:-)
Trygve
Opprinnelig melding
Fra: Weyoun7@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Dse4QvI8K8aQTFuAlLnQ5g3rwlazLGW-Dcpesr3EIPm7nK6EI_YJNCH9SFhbgkFpDSKRQRnHeHr4dA]Weyoun7@a...[/url
Sendt: 11. februar 2003 06:09
Til: basicstamps@yahoogroups.com
Emne: [noparse][[/noparse]basicstamps] Re: Joystick
Speaking of joysticks,
I'm trying to use a computer gamepad as a remote control for my robot. I
have tried tracing the board layout to control wires and that does not work
because the traces are not clearly marked.
From info on the net I was able to decipher that pin 4 on the computer and
joystick is the ground. And pins 2, 7, 10 and 14 are button switches. And
I
have 4 buttons on my game pad which I can use now. But I want to use the
directional pad as well for control. I can't for the life of me figure out
how to use it. I understand that the PC sees it like a variable resistor.
But this is a game pad, so I should be able to have direct on/off output
from
the pins on the gamepad. Right??
Any thoughts or suggestions? I just want to be able to plug in the game pad
to remote control my robot for transportation. So I can drive it out to my
car, rather than carry it. ;-) So the four buttons will work, but I want
to
use the thumb pad too, just because I wanna know how it works!
Thanks,
-Justin
[noparse][[/noparse]Non-text portions of this message have been removed]
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
It's a while since I last messed with GamePads and Joysticks, but...
If I don't remember too wrong, the PC type Gamepads uses the same connector
as the Joysticks, and the motion control there is analogue.
It's quite possible that the directional pad just switches in 4 different
resistors , connected to the same pin, depending on the direction you're
moving it.
What kind of Gamepad are you using, and for what type of computer was it
originally intended?
:-)
Trygve
Opprinnelig melding
Fra: Weyoun7@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Dse4QvI8K8aQTFuAlLnQ5g3rwlazLGW-Dcpesr3EIPm7nK6EI_YJNCH9SFhbgkFpDSKRQRnHeHr4dA]Weyoun7@a...[/url
Sendt: 11. februar 2003 06:09
Til: basicstamps@yahoogroups.com
Emne: [noparse][[/noparse]basicstamps] Re: Joystick
Speaking of joysticks,
I'm trying to use a computer gamepad as a remote control for my robot. I
have tried tracing the board layout to control wires and that does not work
because the traces are not clearly marked.
From info on the net I was able to decipher that pin 4 on the computer and
joystick is the ground. And pins 2, 7, 10 and 14 are button switches. And
I
have 4 buttons on my game pad which I can use now. But I want to use the
directional pad as well for control. I can't for the life of me figure out
how to use it. I understand that the PC sees it like a variable resistor.
But this is a game pad, so I should be able to have direct on/off output
from
the pins on the gamepad. Right??
Any thoughts or suggestions? I just want to be able to plug in the game pad
to remote control my robot for transportation. So I can drive it out to my
car, rather than carry it. ;-) So the four buttons will work, but I want
to
use the thumb pad too, just because I wanna know how it works!
Thanks,
-Justin
[noparse][[/noparse]Non-text portions of this message have been removed]
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Comments
> >>Greetings!
>
> It's a while since I last messed with GamePads and Joysticks, but...
>
> If I don't remember too wrong, the PC type Gamepads uses the same connector
> as the Joysticks, and the motion control there is analogue.
> It's quite possible that the directional pad just switches in 4 different
> resistors , connected to the same pin, depending on the direction you're
> moving it.
>
> What kind of Gamepad are you using, and for what type of computer was it
> originally intended?
>
> :-)
> Trygve
>
>
>
Opprinnelig melding
> Fra: Weyoun7@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=S7H9DZsr6qL_WqNY_13QvgAuoidm2T_R67PwUAjLvLg-KxVUBpH18m_ycmj78n4p4NxwBdUQ]Weyoun7@a...[/url
> Sendt: 11. februar 2003 06:09
> Til: basicstamps@yahoogroups.com
> Emne: [noparse][[/noparse]basicstamps] Re: Joystick
>
>
> Speaking of joysticks,
>
> I'm trying to use a computer gamepad as a remote control for my robot. I
> have tried tracing the board layout to control wires and that does not work
>
> because the traces are not clearly marked.
>
> From info on the net I was able to decipher that pin 4 on the computer and
> joystick is the ground. And pins 2, 7, 10 and 14 are button switches. And
> I
> have 4 buttons on my game pad which I can use now. But I want to use the
> directional pad as well for control. I can't for the life of me figure out
>
> how to use it. I understand that the PC sees it like a variable resistor.
>
> But this is a game pad, so I should be able to have direct on/off output
> from
> the pins on the gamepad. Right??
>
> Any thoughts or suggestions? I just want to be able to plug in the game
> pad
>
> to remote control my robot for transportation. So I can drive it out to my
>
> car, rather than carry it. ;-) So the four buttons will work, but I want
> to
> use the thumb pad too, just because I wanna know how it works!
>
> Thanks,
> -Justin
>
[noparse][[/noparse]Non-text portions of this message have been removed]