9-pin male D-sub connector on the console.
The joystick potentiometers work by voltage division between -5V and +5V. Actually, it uses a couple of resistors on each side to make it more like -3.4V to 3.4V.
All voltages are taken with respect to ground
The buttons are normally open type, and close circuits to ground when pressed.