I just got around to trying this out. The wiring diagram is completely inverted on mine. Ground are on pins 3 and 4. Joystick is on 15,17,19,21. B1-B8 are on 22,20,18,16,14,12,10,8 Respectively B9-B12 are on 13,11,9,7 respectively. Shorting 3 and 5 toggles the joystic between XY, Z and POV hat. Thanks for 2 hours of my life I'll never get back.