5 pin joystick pinout
A few joysticks use the JST NH 5 pin connector. It is easy to rotate the PCB to get a common pinout. All PCB's have GND on pin1, there is no standard color coding. The pin numbering can be read on the connector.
- GND - common on all joysticks that use this connector
This pinout is when the connector on the pcb is facing upwards - i.e the same direction you would push the joystick for UP.