T.Storm keyboard matrix
Sometimes, a straightforward matrix is not possible. You would run out of pins or you have to save on pins for lighting or rotary encoders. No problem, we have to be creative.
This page is under construction.
Looking at the S.Torm's layout, witnout too much thinking, we can see 16 columns and 5 rows. 21 pins? I only had a Pro Micro with 18 pins. Even after utilizing its LED pins I'll have 20.
First step to the solution is embracing meandering rows/colums. A matrix row or column doesn't have to be a straight line. The modified matrix below results in 10 colums only. 6 pins saved! 15 pins used altogether. The matrix is more complex but manageable.
Can we go even further? Yep, but with the increasing complexity keeping track of the neighbouring switches (while soldering) and maintaining the QMK files is getting harder.
Let's think about it. The layout has 46 keys. A 7x7 would be the most effective, but because of the split design, we need even colums numbers.
6x6 is not enough, 6x8 (14 pins) would work and is the best arrangement for minimizing pins used:
Could we do this? Sure. Will we do this? No way.