I cut the insulation halfway along the cable and cut and stripped the brown wire, leaving the blue intact.
The brown was then soldered to the common and one of the switch positions.
I applied hot glue for insulation and mechanical protection.
Next I soldered on the USB and microUSB connections.
And more hot glue applied.