USB to switch?

I am building a backlit keyboard, and I wanted to hook it up to a switch. How would I make it from the USB, or the default connector, to a switch?

caitlinsdad4 years ago
Look up the layout for the USB pins/wires, You should be able to tap into the +5 volts and GND to wire up some LEDs with the proper resistor.