From a9e3bb2498348aee52355d1ab81f768e9c56998a Mon Sep 17 00:00:00 2001 From: Darren Date: Tue, 23 Sep 2025 20:33:16 -0700 Subject: [PATCH] adjust_layer (#34) * updated image * added page up and down * added adjust layer for function keys. * changed transparent to none * changed transparent to none * updated keymaps key proper icons --------- Co-authored-by: keymap-editor[bot] <91849743+keymap-editor[bot]@users.noreply.github.com> Co-authored-by: DarrenVictoriano <26513979+DarrenVictoriano@users.noreply.github.com> --- config/corne.keymap | 18 +++++ images/corne.svg | 159 +++++++++++++++++++++++++++++++++++++++++++- images/corne.yaml | 43 ++++++++++++ 3 files changed, 218 insertions(+), 2 deletions(-) diff --git a/config/corne.keymap b/config/corne.keymap index dbfbd0b..7512c31 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -40,5 +40,23 @@ &kp LGUI &mo 1 &kp LC(SPACE) &kp SPACE &mo 2 &kp RALT >; }; + + adjust_layer { + bindings = < +&kp ESC &none &kp F7 &kp F8 &kp F9 &none &none &none &none &none &none &kp BSPC +&kp LCTRL &none &kp F4 &kp F5 &kp F6 &none &none &none &none &none &none &kp RET +&kp LSHIFT &none &kp F1 &kp F2 &kp F3 &kp F10 &none &none &none &none &none &kp RSHIFT + &kp LGUI &mo 1 &kp SPACE &kp SPACE &mo 2 &kp RALT + >; + }; + }; + + conditional_layers { + compatible = "zmk,conditional-layers"; + + adjust_layer { + if-layers = <1 2>; + then-layer = <3>; + }; }; }; diff --git a/images/corne.svg b/images/corne.svg index 91e4161..45ae330 100644 --- a/images/corne.svg +++ b/images/corne.svg @@ -1,4 +1,4 @@ - + /* start glyphs */ @@ -788,4 +788,159 @@ rect.held, rect.combo.held { -Keymap View: keymap-drawer + +adjust: + + + + + + + + + + +F7 + + + +F8 + + + +F9 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +F4 + + + +F5 + + + +F6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +F1 + + + +F2 + + + +F3 + + + +F10 + + + + + + + + + + + + + + + + + + + + + + + + + + + +lower + + + + + + + + + + + + +raise + + + + + + + +Keymap View: keymap-drawer diff --git a/images/corne.yaml b/images/corne.yaml index e915fce..c6d415a 100644 --- a/images/corne.yaml +++ b/images/corne.yaml @@ -89,3 +89,46 @@ layers: - $$mdi:keyboard-space$$ - {t: raise, type: held} - $$mdi:apple-keyboard-option$$ + adjust: + - $$mdi:keyboard-esc$$ + - '' + - F7 + - F8 + - F9 + - '' + - '' + - '' + - '' + - '' + - '' + - $$mdi:backspace-outline$$ + - $$mdi:apple-keyboard-control$$ + - '' + - F4 + - F5 + - F6 + - '' + - '' + - '' + - '' + - '' + - '' + - $$mdi:keyboard-return$$ + - $$mdi:apple-keyboard-shift$$ + - '' + - F1 + - F2 + - F3 + - F10 + - '' + - '' + - '' + - '' + - '' + - $$mdi:apple-keyboard-shift$$ + - $$mdi:apple-keyboard-command$$ + - {t: lower, type: held} + - $$mdi:keyboard-space$$ + - $$mdi:keyboard-space$$ + - {t: raise, type: held} + - $$mdi:apple-keyboard-option$$