Board index » delphi » Joystick port

Joystick port

Hi there

Can anybody give me the pin connections on the joystick port ? I need all
of them.

Thanks

Peter Vrist

vr...@post2.tele.dk

 

Re:Joystick port


Quote
Peter Vrist wrote:
> Hi there

> Can anybody give me the pin connections on the joystick port ? I need all
> of them.

Pin   Signal     Function                                  I/O
----------------------------------------------------------------
 1    +5V        paddle 1, joystick A                      Out
 2    Button 4   paddle 1 button, joystick A button #1     In
 3    Pos. 0     paddle 1 position, joystick A x-coord     In
 4    GND        ---                                       ---
 5    GND        ---                                       ---
 6    Pos. 1     paddle 2 position, joystick A y-coord     In
 7    Button 5   paddle 2 button, joystick A button #2     In
 8    +5V        paddle 2                                  Out
 9    +5V        paddle 3, joystick B                      Out
10    Button 6   paddle 3 button, joystick B button #1     In
11    Pos. 2     paddle 3 position, joystick B x-coord     In
12    GND        --                                        ---
13    Pos. 3     paddle 4 position, joysitck B y-coord     In
14    Button 7   paddle 4 button, joystick B button #2     In
15    +5V        paddle 4                                  Out

On some sounds cards, some pins on the joystick port are used for the
MIDI interface, but I'm not sure which ones.  Also, regardless of
whether you're writing joystick driving code in TP or not, this sort of
question belongs in comp.sys.ibm.pc.hardware.misc.

Quote
> Thanks

> Peter Vrist

> vr...@post2.tele.dk

--
Scott Earnest                      | _,-""-_,-""-_,-""-_,-""-_,-""-_,-"
|
set...@ix.netcom.com (primary)     | We now return you to our regularly
|
siny...@{*word*104}space.org (alternate) | scheduled chaos and mayhem. . . .
|

Re:Joystick port


The Joystiack/MIDI Game Port

Pin Signal               Pin Signal
------------------------------------------------
1   +5V                  9   +5V
2   Joystick 1 Fire 1    10  Joystick 2 Fire 1
3   Joystick 1 X         11  Joystick 2 X
4   Ground               12  MIDI OUT
5   Ground               13  Joystick 2 Y
6   Joystick 1 Y         14  Joystick 2 Fire 2
7   Joystick 1 Fire 2    15  MIDI IN
8   +5V

LARS
----------------------------------------------------------------------
Lars Voelker      +49-6401-21757      L.Voel...@Liebig.gi.he.Schule.de

Other Threads