Skip to content

Commit

Permalink
feat: add Dvorak layout
Browse files Browse the repository at this point in the history
  • Loading branch information
minusfive committed Oct 11, 2024
1 parent 2b20595 commit b97fd49
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 57 deletions.
64 changes: 32 additions & 32 deletions img/corneish_zen.svg → img/dvorak.svg
File renamed without changes
48 changes: 24 additions & 24 deletions img/corneish_zen.yaml → img/dvorak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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$$'}
Expand Down
28 changes: 28 additions & 0 deletions knucklehead/L1_dvorak.dtsi
Original file line number Diff line number Diff line change
@@ -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 SEMICOLON &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
// ╰───────────────┴───────────────┴───────────────╯ ╰───────────────┴───────────────┴───────────────╯
>;
};
};
};
3 changes: 2 additions & 1 deletion knucklehead/base.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b97fd49

Please sign in to comment.