Difference between revisions of "Connector:Analogue joystick (CPC Plus only)"
From CPCWiki - THE Amstrad CPC encyclopedia!
Line 4: | Line 4: | ||
* 5V and GND are exchanged with each other, and, | * 5V and GND are exchanged with each other, and, | ||
* on CPC+ the buttons must be connected to a "select" line (instead of to GND). | * on CPC+ the buttons must be connected to a "select" line (instead of to GND). | ||
− | Pin CPC+ | + | Pin CPC+ PC |
− | 1 | + | 1 GND (Pot common) +5V |
− | 2 /Fire 1 | + | 2 /Fire 1 Player 1 Fire 1 |
− | 3 X1 Player 1 X (lt/rt) | + | 3 Pot X1 Player 1 X (lt/rt) |
− | 4 /Joystick 1 | + | 4 /Joystick 1 GND |
− | 5 +5V | + | 5 +5V GND |
− | 6 Y1 Player 1 Y (up/dn) | + | 6 Pot Y1 Player 1 Y (up/dn) |
− | 7 /Fire 2 | + | 7 /Fire 2 Player 1 Fire 2 |
− | 8 | + | 8 GND (Pot common) +5V (Soundblaster: GND) |
− | 9 | + | 9 GND (Pot common) +5V |
− | 10 /Fire 1 | + | 10 /Fire 1 Player 2 Fire 1 |
− | 11 X2 Player 2 X (lt/rt) | + | 11 Pot X2 Player 2 X (lt/rt) |
− | 12 /Joystick 2 | + | 12 /Joystick 2 GND (Soundblaster: Midi TxD) |
− | 13 Y2 Player 2 Y (up/dn) | + | 13 Pot Y2 Player 2 Y (up/dn) |
− | 14 /Fire 2 | + | 14 /Fire 2 Player 2 Fire 2 |
− | 15 | + | 15 GND (Pot common) +5V (Soundblaster: Midi RxD) |
* Two analogue joysticks could be connected by using an Y-cable. The Fire signals are the same as for the normal (digital) joystick port. Joystick 1 buttons should be connected to Pin 2,4,6, and joystick 2 buttons to Pin 10,12,14. Like the digital [[Joystick Y-cables]] the analog Y-cable should have '''diodes''' in the button lines. | * Two analogue joysticks could be connected by using an Y-cable. The Fire signals are the same as for the normal (digital) joystick port. Joystick 1 buttons should be connected to Pin 2,4,6, and joystick 2 buttons to Pin 10,12,14. Like the digital [[Joystick Y-cables]] the analog Y-cable should have '''diodes''' in the button lines. | ||
* The A/D inputs have an input range of 0V (data = 00) to 2.5V (data = 3Fh), and an input impedance of 180k to Vcc. | * The A/D inputs have an input range of 0V (data = 00) to 2.5V (data = 3Fh), and an input impedance of 180k to Vcc. |
Revision as of 22:43, 2 February 2010
Analogue Joystick Port (15 Pin SUB-D, female) (CPC Plus only)
The Analogue CPC+ Joystick port is somewhat similar to standard PC Joystick ports - with two important differences:
- 5V and GND are exchanged with each other, and,
- on CPC+ the buttons must be connected to a "select" line (instead of to GND).
Pin CPC+ PC 1 GND (Pot common) +5V 2 /Fire 1 Player 1 Fire 1 3 Pot X1 Player 1 X (lt/rt) 4 /Joystick 1 GND 5 +5V GND 6 Pot Y1 Player 1 Y (up/dn) 7 /Fire 2 Player 1 Fire 2 8 GND (Pot common) +5V (Soundblaster: GND) 9 GND (Pot common) +5V 10 /Fire 1 Player 2 Fire 1 11 Pot X2 Player 2 X (lt/rt) 12 /Joystick 2 GND (Soundblaster: Midi TxD) 13 Pot Y2 Player 2 Y (up/dn) 14 /Fire 2 Player 2 Fire 2 15 GND (Pot common) +5V (Soundblaster: Midi RxD)
- Two analogue joysticks could be connected by using an Y-cable. The Fire signals are the same as for the normal (digital) joystick port. Joystick 1 buttons should be connected to Pin 2,4,6, and joystick 2 buttons to Pin 10,12,14. Like the digital Joystick Y-cables the analog Y-cable should have diodes in the button lines.
- The A/D inputs have an input range of 0V (data = 00) to 2.5V (data = 3Fh), and an input impedance of 180k to Vcc.
- Not sure if the POTs on the CPCs analog X/Y inputs are to be wired to 5V or GND (or to both)? And, how they are wired on PCs accordingly?
Softwares using Analog Joystick
Tennis Cup 2 ( Cartridge ) allows player 2 to use Analog port.