summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorjpe230 <pablin.123.ra@gmail.com>2022-10-08 11:13:58 -0500
committerGitHub <noreply@github.com>2022-10-08 09:13:58 -0700
commit86938fd958836e86cced081f46e8901bad245df8 (patch)
tree047515dcdf3c2d02a74f088ca805f7f772081ca4 /quantum
parent7a1517b6d48061dbe630785415f82bda805837b7 (diff)
Allow QK_MAKE to work with converters (#18637)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 5b5364c8f1..0f94e3855d 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -422,7 +422,11 @@ bool process_record_quantum(keyrecord_t *record) {
} else {
SEND_STRING_DELAY(" compile ", TAP_CODE_DELAY);
}
+# if defined(CONVERTER_ENABLED)
+ SEND_STRING_DELAY("-kb " QMK_KEYBOARD " -km " QMK_KEYMAP " -e CONVERT_TO=" CONVERTER_TARGET SS_TAP(X_ENTER), TAP_CODE_DELAY);
+# else
SEND_STRING_DELAY("-kb " QMK_KEYBOARD " -km " QMK_KEYMAP SS_TAP(X_ENTER), TAP_CODE_DELAY);
+# endif
if (temp_mod & MOD_MASK_SHIFT && temp_mod & MOD_MASK_CTRL) {
reset_keyboard();
}