daprice / keyswitches.pretty

KiCAD footprint library for kailh choc and MX-style mechanical switches and their associated sockets
Other
865 stars 77 forks source link

Led holes #1

Closed BenRoe closed 5 years ago

BenRoe commented 5 years ago

Hello, thank you for sharing the footprints. Is it possible to add LED holes?

daprice commented 5 years ago

I mainly created this library because I needed reversible/socketable footprints where there isn’t room for LEDs, so I’ve simply left it up to board designers using the simpler footprints to handle LED connections if they want them (along with deciding what type they need: thru hole, SMT, or recessed, along with pin count, what pitch, etc that could vary from one board to another).

For now, that means having the LED as a separate component on the PCB in KiCad and positioning its footprint wherever it needs to be under the switch footprint (I’m not aware of a nice way to do this for all the switches on a board in the KiCad GUI, but theoretically it could be scripted if you don’t like aligning a lot of footprints manually).

That said, I’m open to the idea of having LED pads be part of the switch footprint if someone wants to add them and submit a pull request.

BenRoe commented 5 years ago

Thanks for the detailed answer. You are right. Separate LED foodprint is simpler.