How to solder microswitch to Arduino Leonardo

Solder C(ommon) to ground, and NO (Normally Open) to an input with pullup pin.