Amstrad CPC Joystick port pinout
_________________ \ o1 o2 o3 o4 o5/
\ o6 o7 o8 o9 / \___________/
Pin Joystick
1 Up 2 Down 3 Left 4 Right 5 Fire 3 (undocumented, used by the AMX Mouse for example) 6 Fire 2 7 Fire 1 (Other systems pull +5V from here for auto-fire circuits) 8 GND 9 GND2 (For 2nd joystick)