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]
]
},
QMK MSYS ERRNO 13
I am trying to compile my custom firmware and I'm getting errno 13 permission denied. This was done on the one and only admin user on my pc. All I did to the firmware was add KEY_LOCK_ENABLE = yes and REPEAT_KEY_ENABLE = yes to the rules mk file after duplicating the default folder for my keyboard the q6 max. However, I dont believe the added "rules"(or is it keycodes?) are causing the issue because the error message doesn't say anything about the rules. Any help is appreciated.