Compare commits

...

9 commits

Author SHA1 Message Date
97f5bdbc03 fix: remove extra = 2025-06-18 15:51:40 +02:00
babariviere
6e39bedbff keymap-drawer render 2025-06-18 13:47:29 +00:00
2a3a070568 chore: separate combo diagram 2025-06-18 15:47:06 +02:00
ee0a7e2d91 fix: add missing <> 2025-06-18 15:47:06 +02:00
babariviere
74e0f8c16c keymap-drawer render 2025-06-18 13:41:02 +00:00
1ca5f547d0 chore: update bindings draw 2025-06-18 15:40:38 +02:00
babariviere
fb4494e6b5 keymap-drawer render 2025-06-18 13:36:44 +00:00
27212b6e1d chore: remove MODS 2025-06-18 15:36:22 +02:00
c5e31e6cbc feat: add more cool combos 2025-06-18 15:34:25 +02:00
4 changed files with 2241 additions and 370 deletions

View file

@ -16,8 +16,6 @@
#define WNAV 3
#define NUM 4
#define FUN 5
#define MODS 6
#define FRA 7
#define VOL_DN C_VOL_DN
#define VOL_UP C_VOL_UP
@ -51,7 +49,7 @@
hml: hml {
compatible = "zmk,behavior-hold-tap";
flavor = "balanced";
tapping-term-ms = <280>;
tapping-term-ms = <220>;
quick-tap-ms = <175>; // repeat on tap-into-hold
require-prior-idle-ms = <150>;
#binding-cells = <2>;
@ -63,7 +61,7 @@
hmr: hmr {
compatible = "zmk,behavior-hold-tap";
flavor = "balanced";
tapping-term-ms = <280>;
tapping-term-ms = <220>;
quick-tap-ms = <175>; // repeat on tap-into-hold
require-prior-idle-ms = <150>;
#binding-cells = <2>;
@ -71,6 +69,34 @@
hold-trigger-key-positions = <KEYS_L THUMBS>;
hold-trigger-on-release; // delay positional check until key-release
};
lpar_lt: lpar_lt {
compatible = "zmk,behavior-mod-morph";
mods = <(MOD_LSFT | MOD_RSFT)>;
#binding-cells = <0>;
bindings = <&kp LPAR>, <&kp LT>;
};
rpar_gt: rpar_gt {
compatible = "zmk,behavior-mod-morph";
mods = <(MOD_LSFT | MOD_RSFT)>;
#binding-cells = <0>;
bindings = <&kp RPAR>, <&kp GT>;
};
lbrc_lbkt: lbrc_lbkt {
compatible = "zmk,behavior-mod-morph";
mods = <(MOD_LSFT | MOD_RSFT)>;
#binding-cells = <0>;
bindings = <&kp LBRC>, <&kp LBKT>;
};
rbrc_rbkt: rbrc_rbkt {
compatible = "zmk,behavior-mod-morph";
mods = <(MOD_LSFT | MOD_RSFT)>;
#binding-cells = <0>;
bindings = <&kp RBRC>, <&kp RBKT>;
};
};
conditional_layers {
@ -83,12 +109,7 @@
combos {
compatible = "zmk,combos";
combo_clear {
timeout-ms = <25>;
key-positions = <LT1 LT0>;
bindings = <&kp K_CANCEL>;
layers = <BASE>;
};
combo_escape {
timeout-ms = <25>;
key-positions = <LT2 LT1>;
@ -104,7 +125,7 @@
combo_tab {
timeout-ms = <25>;
key-positions = <LM2 LM1>;
bindings = <&lt MODS TAB>;
bindings = <&kp TAB>;
layers = <BASE>;
};
@ -122,31 +143,64 @@
layers = <BASE>;
};
combo_minus {
combo_lpar {
timeout-ms = <40>;
key-positions = <LT1 LM1>;
bindings = <&lpar_lt>;
layers = <BASE>;
};
combo_rpar {
timeout-ms = <40>;
key-positions = <RT1 RM1>;
bindings = <&rpar_gt>;
layers = <BASE>;
};
combo_lbrc {
timeout-ms = <40>;
key-positions = <LT2 LM2>;
bindings = <&lbrc_lbkt>;
layers = <BASE>;
};
combo_rbrc {
timeout-ms = <40>;
key-positions = <RT2 RM2>;
bindings = <&rbrc_rbkt>;
layers = <BASE>;
};
combo_minus {
timeout-ms = <40>;
key-positions = <LT0 LM0>;
bindings = <&kp MINUS>;
layers = <BASE>;
};
combo_underscore {
timeout-ms = <40>;
key-positions = <LM1 LB1>;
key-positions = <LM0 LB0>;
bindings = <&kp UNDERSCORE>;
layers = <BASE>;
};
combo_colon {
timeout-ms = <40>;
key-positions = <RT1 RM1>;
key-positions = <RT0 RM0>;
bindings = <&kp COLON>;
layers = <BASE>;
};
combo_semi {
timeout-ms = <40>;
key-positions = <RM1 RB1>;
key-positions = <RM0 RB0>;
bindings = <&kp SEMI>;
layers = <BASE>;
};
combo_boot {
timeout-ms = <40>;
key-positions = <LB4 LB3>;
bindings = <&bootloader>;
layers = <BASE>;
};
};
keymap {
@ -252,22 +306,5 @@
// ╰──────────┴──────────╯ ╰──────────┴──────────╯
>;
};
mods {
bindings = <
//╭──────────┬──────────┬──────────┬──────────┬──────────╮ ╭──────────┬──────────┬──────────┬──────────┬──────────╮
//│ │ │ │ │ │ │ │ │ │ │ │
&bootloader &trans &trans &trans &trans &none &none &none &none &none
//├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤
//│ - │ │ │ │ │ │ │ CTRL │ ALT │ CMD │ SHIFT │
&trans &trans &trans &trans &trans &none &sk LCTRL &sk LALT &sk LCMD &sk LSHFT
//├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤
//│ │ │ │ │ │ │ │ │ RALT │ │ │
&trans &trans &trans &trans &trans &none &none &sk RALT &none &none
//╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯
&trans &trans &trans &trans
// ╰──────────┴──────────╯ ╰──────────┴──────────╯
>;
};
};
};

View file

@ -8,7 +8,7 @@ draw_config:
key_ry: 6.0
dark_mode: false
n_columns: 1
separate_combo_diagrams: false
separate_combo_diagrams: true
combo_diagrams_scale: 2
inner_pad_w: 2.0
inner_pad_h: 2.0
@ -133,6 +133,21 @@ parse_config:
tap: $$mdi:bluetooth-connect$$
shifted: '4'
type: text_with_symblol
'&bootloader': "BOOT"
'&lpar_lt':
tap: "("
hold: "<"
'&rpar_gt':
tap: ")"
hold: ">"
'&lbrc_lbkt':
tap: '{'
hold: '['
'&rbrc_rbkt':
tap: '}'
hold: ']'
sticky_label: $$mdi:circle-small$$
toggle_label: $$mdi:toggle-switch$$
tap_toggle_label: tap-toggle

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 178 KiB

Before After
Before After

View file

@ -1,4 +1,4 @@
layout: {qmk_keyboard: ferris/sweep}
layout: {zmk_keyboard: cradio}
layers:
base:
- Q
@ -210,45 +210,7 @@ layers:
- {type: held}
- {type: held}
- {t: '$$mdi:chevron-down$$', type: trans}
mods:
- '&bootloader'
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
- ''
- ''
- ''
- ''
- ''
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
- {type: held}
- {type: held}
- {t: '$$mdi:chevron-down$$', type: trans}
- ''
- {t: '$$mdi:apple-keyboard-control$$', h: '$$mdi:circle-small$$'}
- {t: '$$mdi:apple-keyboard-option$$', h: '$$mdi:circle-small$$'}
- {t: '$$mdi:apple-keyboard-command$$', h: '$$mdi:circle-small$$'}
- {t: '$$mdi:apple-keyboard-shift$$', h: '$$mdi:circle-small$$'}
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
- ''
- ''
- {t: '$$mdi:apple-keyboard-option$$', h: '$$mdi:circle-small$$'}
- ''
- ''
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
- {t: '$$mdi:chevron-down$$', type: trans}
combos:
- p: [3, 4]
k: CANCEL
l: [base]
- p: [2, 3]
k: $$mdi:keyboard-esc$$
l: [base]
@ -256,7 +218,7 @@ combos:
k: '='
l: [base]
- p: [12, 13]
k: {t: '$$mdi:keyboard-tab$$', h: mods}
k: $$mdi:keyboard-tab$$
l: [base]
- p: [7, 8]
k: $$mdi:backspace-outline$$
@ -265,14 +227,29 @@ combos:
k: $$mdi:keyboard-return$$
l: [base]
- p: [3, 13]
k: '-'
l: [base]
- p: [13, 23]
k: _
k: {t: (, h: <}
l: [base]
- p: [6, 16]
k: {t: ), h: '>'}
l: [base]
- p: [2, 12]
k: {t: '{', h: '['}
l: [base]
- p: [7, 17]
k: {t: '}', h: ']'}
l: [base]
- p: [4, 14]
k: '-'
l: [base]
- p: [14, 24]
k: _
l: [base]
- p: [5, 15]
k: ':'
l: [base]
- p: [16, 26]
- p: [15, 25]
k: ;
l: [base]
- p: [20, 21]
k: BOOT
l: [base]