Pinouts

Joypad ports
Male connector, left to right, top to bottom.