2 layers20 × 25 mm

Microswitch pcb
christrotter/microswitch-pcb
A "per-key" pcb using microswitches and including LED bits
10 partsMIT
Boards in 1 GitHub repository, designed in KiCad, that use the D2F-L3 by Omron (-40℃~+85℃ 1,000,000 cycles 30V PC Pin SPDT 插件 Limit Switches ROHS). See how each wires it, with its parts, size, README and files; the D2F-L3’s symbol, footprint and pinout are on its own page.

christrotter/microswitch-pcb
A "per-key" pcb using microswitches and including LED bits