From 2ed9102f7a6d3ef91e07c386f622a67134b7d465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Dessureault?= Date: Wed, 10 Jan 2024 22:37:52 -0500 Subject: [PATCH] add colemak toggle --- behaviors/combos_34.dtsi | 11 +++++++++-- behaviors/combos_36.dtsi | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/behaviors/combos_34.dtsi b/behaviors/combos_34.dtsi index 294f1b2..6ebd171 100644 --- a/behaviors/combos_34.dtsi +++ b/behaviors/combos_34.dtsi @@ -3,6 +3,7 @@ #include "../zmk-nodefree-config/helper.h" #include "../zmk-nodefree-config/keypos_def/keypos_34keys.h" #include "./combos.dtsi" +#include "../config/constants.h" #pragma once @@ -13,5 +14,11 @@ THUMBS ***********************/ -// TAB - Inner right thumbs, active on all layer -ZMK_COMBO(tab_34, &kp TAB, RH0 RH1, 0) +// TAB - Right thumbs, active on base layer +ZMK_COMBO(tab_34, &kp TAB, RH0 RH1, DEF) + +// COLEMAK - Inner thumbs, active on base layer +ZMK_COMBO(colemak_34, &to COL, LH0 RH0, DEF) + +// QWERTY - Inner thumbs, active on Colemak layer +ZMK_COMBO(qwerty_34, &to DEF, LH0 RH0, COL) diff --git a/behaviors/combos_36.dtsi b/behaviors/combos_36.dtsi index 6c80d54..a64dc53 100644 --- a/behaviors/combos_36.dtsi +++ b/behaviors/combos_36.dtsi @@ -3,6 +3,7 @@ #include "../zmk-nodefree-config/helper.h" #include "../zmk-nodefree-config/keypos_def/keypos_36keys.h" #include "./combos.dtsi" +#include "../config/constants.h" #pragma once @@ -13,5 +14,11 @@ THUMBS ***********************/ -// TAB - Inner right thumbs, active on all layer -ZMK_COMBO(tab, &kp TAB, RH0 RH1, 0) +// TAB - Inner right thumbs, active on base layer +ZMK_COMBO(tab, &kp TAB, RH0 RH1, DEF) + +// COLEMAK - Inner thumbs, active on base layer +ZMK_COMBO(colemak, &to COL, LH0 RH0, DEF) + +// QWERTY - Inner thumbs, active on Colemak layer +ZMK_COMBO(qwerty, &to DEF, LH0 RH0, COL)