(no title)
l_t | 5 years ago
In fact, I got so addicted to keybindings that I tweaked the chording engine to make chords QMK-layer-dependent. The ability to do "modal chords" is just great.
Anyway, thank you for making these things -- I may never have heard of QMK if it wasn't for your boards!
1MachineElf|5 years ago
l_t|5 years ago
https://github.com/luketurner/qmk_firmware/blob/master/keybo...
The forked engine (with very minimal changes) that's used in that keymap is here:
https://github.com/luketurner/qmk_firmware/tree/master/keybo...
The only change is that all the chording macros (PRES, KEYS, etc.) accept a QMK layer number as the first parameter, and will only activate when that layer is active. The end result is similar to the "sticky bits" functionality, but without the side-effect of masking the signal of those bits.
This is my first foray into embedded programming stuff, so I can't promise I didn't do anything dumb in there. It seems to work for me, though!