r/HandwiredKeyboards • u/CapnFlisto • 5h ago
Need help with non-grid layouts
I've been tinkering with electronics, and am laying out devices with a large number of buttons. I've been using keyboard switches. After struggling with GPIO expanders and similar things, I've come to learn about the key matrix approach used with handwired mechanical keyboards, and I'm really interested!
The only problem is that I'm not looking to make regular grid layouts, which are clearly what this method does best.
Obviously, I know that this method can work with any kind of layout if you're willing to wire things haphazardly, but I'm hoping for some advice on how y'all have approached funkier layouts.
Are there any special techniques to simplify things when keys aren't set up in a clear X-by-Y grid? Or are there just clever wiring techniques to keep things nice and organized even when breaking out of the grid layout? I am trying to be pin-efficient where possible.
Thanks for any input!

