CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: Fran123 on 17:48, 01 April 24

Title: joystick
Post by: Fran123 on 17:48, 01 April 24
hello

here is my doubt about joystick working

having the joystick port a pin for each direction, how does the processor distinguish when a player presses fire (for example) if the other player also has it pressed?

Is there an electrical diagram?

thank you
Title: Re: joystick
Post by: Rabs on 18:56, 01 April 24
Does this help?

Connector:Digital joystick - CPCWiki (https://www.cpcwiki.eu/index.php/Connector:Digital_joystick#Select_Signals_.28COM_and_COM2.29)


Select Signals (COM and COM2)
COM is the "common" pin for the Joystick 1's direction/button switches. COM2 for Joystick 2 accordingly. The COM/COM2 pins go LOW when selecting the corresponding keyboard row.

Joystic Com and Com 2.JPG
Powered by SMFPacks Menu Editor Mod