▲ 1 r/qmk
How to mix "direct" keys and "matrix_pins" on the same keyboad in QMK
How to mix "direct" keys and "matrix_pins" on the same keyboad in QMK. This is a Pico Sofle board with the 7 pins on a spare header. What to hook those 7 pins to "direct" buttons connected to a separate pin and ground combo.
Looked at
https://docs.qmk.fm/porting_your_keyboard_to_qmk#direct-pin-matrix
but can't figure out how to mix "matrix_pins" with a "direct". Tried several variations on
"matrix_pins": {
"cols": ["GP1", "GP2", "GP3", "GP4", "GP5", "GP8"],
"rows": ["GP9", "GP10", "GP11", "GP12", "GP13"],
"direct": [
["GP28", "GP26", "GP21", "GP19","GP27", "GP22"],
["GP20", null, null, null, null, null]
]
},
u/z00mantwo — 5 days ago