mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-23 08:54:38 +00:00
Update vifon keymap to use DYN_REC_STOP
This commit is contained in:
parent
1201d4910f
commit
c8ac556e63
1 changed files with 2 additions and 1 deletions
|
@ -107,7 +107,8 @@ const uint16_t PROGMEM fn_actions[] = {
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
static uint16_t key_timer;
|
static uint16_t key_timer;
|
||||||
|
|
||||||
if (!process_record_dynamic_macro(keycode, record)) {
|
uint16_t macro_kc = (keycode == MO(_DYN) ? DYN_REC_STOP : keycode);
|
||||||
|
if (!process_record_dynamic_macro(macro_kc, record)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue