here's our take on it, what's interesting is each pin of the jack - including the two switches for tip and ring1 - connect to GPIO / analog inputs on the SAMD21. there's no pre-defined VCC or GND because different switch and joystick makers have different configurations and we might want to change around what pins are power, ground, pullups, etc!