From bc02e7f205dd624a978935bc3e65213adde60526 Mon Sep 17 00:00:00 2001 From: Jorge Villalobos Date: Fri, 11 Oct 2024 01:05:55 -0400 Subject: [PATCH] feat: add Dvorak layout --- img/corneish_zen.svg | 64 +++++++++++++++++++------------------- img/corneish_zen.yaml | 48 ++++++++++++++-------------- knucklehead/L1_dvorak.dtsi | 28 +++++++++++++++++ knucklehead/base.dtsi | 3 +- 4 files changed, 86 insertions(+), 57 deletions(-) create mode 100644 knucklehead/L1_dvorak.dtsi diff --git a/img/corneish_zen.svg b/img/corneish_zen.svg index e674dbe..64873a2 100644 --- a/img/corneish_zen.svg +++ b/img/corneish_zen.svg @@ -470,15 +470,18 @@ path.combo { -Q +' +" -W +, +< -F +. +> @@ -486,28 +489,27 @@ path.combo { -B +Y -J +F -L +G -U +C -Y +R -' -" +L @@ -524,47 +526,47 @@ path.combo { -R +O -S +E -T +U -G +I -M +D -N +H -E +T -I +N -O +S @@ -578,46 +580,44 @@ path.combo { -Z +/ +? -X +Q -C +J -D +K -V +X -K +B -H +M -, -< +W -. -> +V -/ -? +Z diff --git a/img/corneish_zen.yaml b/img/corneish_zen.yaml index ed894c4..d438761 100644 --- a/img/corneish_zen.yaml +++ b/img/corneish_zen.yaml @@ -2,40 +2,40 @@ layout: {qmk_keyboard: corne_rotated, qmk_layout: LAYOUT_split_3x6_3} layers: L1: - $$mdi:keyboard-esc$$ - - Q - - W - - F + - {t: '''', s: '"'} + - {t: ',', s: <} + - {t: ., s: '>'} - P - - B - - J - - L - - U - Y - - {t: '''', s: '"'} + - F + - G + - C + - R + - L - $$mdi:close-box$$ - {t: '$$mdi:backspace$$', s: '$$mdi:backspace-reverse-outline$$', type: backspace} - A - - {t: R, h: '$$mdi:apple-keyboard-control$$'} - - {t: S, h: '$$mdi:apple-keyboard-option$$'} - - {t: T, h: '$$mdi:apple-keyboard-command$$'} - - {t: G, h: '$$mdi:triangle$$'} - - {t: M, h: '$$mdi:triangle$$'} - - {t: N, h: '$$mdi:apple-keyboard-command$$'} + - {t: O, h: '$$mdi:apple-keyboard-control$$'} - {t: E, h: '$$mdi:apple-keyboard-option$$'} - - {t: I, h: '$$mdi:apple-keyboard-control$$'} - - O + - {t: U, h: '$$mdi:apple-keyboard-command$$'} + - {t: I, h: '$$mdi:triangle$$'} + - {t: D, h: '$$mdi:triangle$$'} + - {t: H, h: '$$mdi:apple-keyboard-command$$'} + - {t: T, h: '$$mdi:apple-keyboard-option$$'} + - {t: N, h: '$$mdi:apple-keyboard-control$$'} + - S - {t: '$$mdi:keyboard-return$$', type: enter} - {t: Fn, h: '$$mdi:close-box$$'} - - Z + - {t: /, s: '?'} + - Q + - J + - K - X - - C - - D + - B + - M + - W - V - - K - - H - - {t: ',', s: <} - - {t: ., s: '>'} - - {t: /, s: '?'} + - Z - {t: Fn, h: '$$mdi:close-box$$'} - $$mdi:keyboard-tab$$ - {t: '$$mdi:keyboard-space$$', h: '$$mdi:apple-keyboard-shift$$'} diff --git a/knucklehead/L1_dvorak.dtsi b/knucklehead/L1_dvorak.dtsi new file mode 100644 index 0000000..0ee75c5 --- /dev/null +++ b/knucklehead/L1_dvorak.dtsi @@ -0,0 +1,28 @@ +/** + * Alpha Layer - Colemak + */ + +/ { + keymap { + compatible = "zmk,keymap"; + + dvorak_layer { + display-name = "L1"; + bindings = < +// ╭───────────────┬───────────────┬───────────────┬───────────────┬───────────────┬───────────────╮ ╭───────────────┬───────────────┬───────────────┬───────────────┬───────────────┬───────────────╮ +// │0 │1 │2 │3 │4 │5 │ │6 │7 │8 │9 │10 │11 │ + &kp ESC &kp SQT &kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R &kp L &kp K_CANCEL +// ├───────────────├───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ ├───────────────├───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ +// │12 │13 │14 │15 │16 │17 │ │18 │19 │20 │21 │22 │23 │ + &bkspc_del &kp A &hrml LCTRL O &hrml LALT E &hrml LCMD U &hrml MEH I &hrmr MEH D &hrmr LCMD H &hrmr LALT T &hrmr LCTRL N &kp S &kp ENTER +// ├───────────────├───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ ├───────────────├───────────────┼───────────────┼───────────────┼───────────────┼───────────────┤ +// │24 │25 │26 │27 │28 │29 │ │30 │31 │32 │33 │34 │35 │ + &csl Fn &kp SLASH &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z &csl Fn +// ╰───────────────┴───────────────┴───────────────┼───────────────┼───────────────┼───────────────┤ ├───────────────├───────────────┼───────────────┼───────────────┴───────────────┴───────────────╯ +// │36 │37 │38 │ │39 │40 │41 │ + &kp TAB &mt LSHFT SPACE &smart_num L2 0 &smart_num L2 0 &smart_shift &kp GRAVE +// ╰───────────────┴───────────────┴───────────────╯ ╰───────────────┴───────────────┴───────────────╯ + >; + }; + }; +}; diff --git a/knucklehead/base.dtsi b/knucklehead/base.dtsi index abe4067..d529dc4 100644 --- a/knucklehead/base.dtsi +++ b/knucklehead/base.dtsi @@ -32,8 +32,9 @@ #include "combos.dtsi" // Alpha layer: uncomment desired, comment the others -#include "L1_colemak-dh.dtsi" +// #include "L1_colemak-dh.dtsi" // #include "L1_colemak.dtsi" +#include "L1_dvorak.dtsi" // #include "L1_qwerty.dtsi" // Other layers