Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 1 #1

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
00597da
Update corne.keymap
kulakdev Nov 6, 2022
31340e5
Update corne.keymap
kulakdev Nov 6, 2022
0b0abfd
Update corne.keymap
kulakdev Nov 6, 2022
2bc4937
added tab into second layer
keymap-editor[bot] Nov 6, 2022
e46e6f2
returned l2l4 to button bind because i forgot to reload keymap editor
keymap-editor[bot] Nov 6, 2022
87e1936
space
keymap-editor[bot] Nov 7, 2022
1abf4ba
Updated corne.keymap
keymap-editor[bot] Nov 8, 2022
435a508
bluetooth hopefully
keymap-editor[bot] Dec 7, 2022
3403172
Update corne.keymap
kulakdev Dec 13, 2022
2242cf0
prtsr layer 5
keymap-editor[bot] Dec 13, 2022
8fedd5f
layer 5 created
keymap-editor[bot] Dec 13, 2022
9d650c8
created layer 5
keymap-editor[bot] Dec 13, 2022
a328efb
c media games
keymap-editor[bot] Jan 17, 2023
eafab6b
C PP
keymap-editor[bot] Jan 17, 2023
29af04c
Added L3, HOME and END
keymap-editor[bot] Feb 23, 2023
03c112a
Update corne.keymap
kulakdev Feb 24, 2023
317e48e
Moved HOME and END to layer 4 in hopes that it will work this way
keymap-editor[bot] Feb 24, 2023
e3c51aa
Add toggle CMD
keymap-editor[bot] Oct 5, 2023
9f5b6bf
Remove toggle (horrible idea)
keymap-editor[bot] Oct 25, 2023
f7d9287
MAC MODE/ WIN MODE
keymap-editor[bot] Nov 18, 2023
04a42c9
added l6l4 hopefully
keymap-editor[bot] Nov 18, 2023
5c12387
L6L4
Nov 18, 2023
57e35ba
add to config
keymap-editor[bot] Nov 18, 2023
545755d
fix
keymap-editor[bot] Nov 18, 2023
dc4d88d
fix
keymap-editor[bot] Nov 18, 2023
4338007
fix
keymap-editor[bot] Nov 18, 2023
79b642f
fix
keymap-editor[bot] Nov 18, 2023
b3b0e06
Update corne.keymap
worzrens Feb 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions config/corne.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"layouts": {
"LAYOUT": {
"autoGenerated": "true",
"description": "This layout was automatically generated by the Keymap Editor. It may require manual changes to display properly.",
"layout": [
{ "label": "Tab", "row": 0, "col": 0, "x": 0, "y": 0.5 },
{ "row": 0, "col": 1, "x": 1, "y": 0.5 },
{ "row": 0, "col": 2, "x": 2, "y": 0.2 },
{ "row": 0, "col": 3, "x": 3, "y": 0 },
{ "row": 0, "col": 4, "x": 4, "y": 0.25 },
{ "row": 0, "col": 5, "x": 5, "y": 0.25 },
{ "row": 0, "col": 7, "x": 9, "y": 0.25 },
{ "row": 0, "col": 8, "x": 10, "y": 0.25 },
{ "row": 0, "col": 9, "x": 11, "y": 0 },
{ "row": 0, "col": 10, "x": 12, "y": 0.2 },
{ "row": 0, "col": 11, "x": 13, "y": 0.5 },
{ "row": 0, "col": 12, "x": 14, "y": 0.5 },
{ "row": 1, "col": 0, "x": 0, "y": 1.5 },
{ "row": 1, "col": 1, "x": 1, "y": 1.5 },
{ "row": 1, "col": 2, "x": 2, "y": 1.2 },
{ "row": 1, "col": 3, "x": 3, "y": 1 },
{ "row": 1, "col": 4, "x": 4, "y": 1.25 },
{ "row": 1, "col": 5, "x": 5, "y": 1.25 },
{ "row": 1, "col": 7, "x": 9, "y": 1.25 },
{ "row": 1, "col": 8, "x": 10, "y": 1.25 },
{ "row": 1, "col": 9, "x": 11, "y": 1 },
{ "row": 1, "col": 10, "x": 12, "y": 1.2 },
{ "row": 1, "col": 11, "x": 13, "y": 1.5 },
{ "row": 1, "col": 12, "x": 14, "y": 1.5 },
{ "row": 2, "col": 0, "x": 0, "y": 2.5 },
{ "row": 2, "col": 1, "x": 1, "y": 2.5 },
{ "row": 2, "col": 2, "x": 2, "y": 2.2 },
{ "row": 2, "col": 3, "x": 3, "y": 2 },
{ "row": 2, "col": 4, "x": 4, "y": 2.25 },
{ "row": 2, "col": 5, "x": 5, "y": 2.25 },
{ "row": 2, "col": 7, "x": 9, "y": 2.25 },
{ "row": 2, "col": 8, "x": 10, "y": 2.25 },
{ "row": 2, "col": 9, "x": 11, "y": 2 },
{ "row": 2, "col": 10, "x": 12, "y": 2.2 },
{ "row": 2, "col": 11, "x": 13, "y": 2.5 },
{ "row": 2, "col": 12, "x": 14, "y": 2.5 },
{ "row": 3, "col": 3, "x": 3.5, "y": 3.25 },
{ "row": 3, "col": 4, "x": 4.5, "y": 3.25, "r": 13, "ry": 4.25 },
{ "row": 3, "col": 5, "x": 5.5, "y": 3.05, "r": 26, "ry": 4.6, "h": 1.5 },
{ "row": 3, "col": 7, "x": 8.5, "y": 3.05, "r": -26, "ry": 4.6, "h": 1.5, "rx": 9.5 },
{ "row": 3, "col": 8, "x": 9.5, "y": 3.25, "r": -13, "ry": 4.25, "rx": 10.5 },
{ "row": 3, "col": 9, "x": 10.5, "y": 3.25 }
]
}
},
"sensors": []
}
106 changes: 74 additions & 32 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
*/

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>

/ {
conditional_layers {
Expand All @@ -20,56 +20,73 @@
};

/ {
combos {
compatible = "zmk,combos";
};
combos { compatible = "zmk,combos"; };

behaviors {
tabesc: tab_escape_grave {
compatible = "zmk,behavior-mod-morph";
label = "TAB_ESCAPE_GRAVE";
#binding-cells = <0>;
bindings = <&gresc>, <&kp TAB>;

mods = <(MOD_LALT|MOD_RALT|MOD_LSFT)>;
keep-mods = <(MOD_LALT|MOD_RALT)>;
};

shiftlayer: shift_layer {
compatible = "zmk,behavior-mod-morph";
label = "SHIFT_LAYER";
#binding-cells = <0>;
bindings =
<&mo 1>,
<&kp LEFT_SHIFT>;
bindings = <&mo 1>, <&kp LEFT_SHIFT>;

mods = <(MOD_LCTL|MOD_RCTL)>;
};

l2l4: layer2_layer4 {
compatible = "zmk,behavior-tap-dance";
label = "LAYER2_LAYER4";
#binding-cells = <0>;
tapping-term-ms = <200>;
bindings = <&mo 2>, <&mo 4>;
};

l6l4: layer6_layer4 {
compatible = "zmk,behavior-tap-dance";
label = "LAYER6_LAYER4";
#binding-cells = <0>;
tapping-term-ms = <200>;
bindings = <&mo 6>, <&mo 4>;
};

lmt: long_mod_tap {
compatible = "zmk,behavior-hold-tap";
label = "LONG_MOD_TAP";
#binding-cells = <2>;
flavor = "hold-preferred";
tapping-term-ms = <400>;
quick-tap-ms = <300>;
bindings =
<&kp>,
<&kp>;
bindings = <&kp>, <&kp>;
};

};
lmo: long_mod_layer {
compatible = "zmk,behavior-hold-tap";
label = "long_mod_layer";
#binding-cells = <2>;
flavor = "hold-preferred";
tapping-term-ms = <400>;
quick-tap-ms = <200>;
bindings = <&mo>,<&kp>;
bindings = <&mo>, <&kp>;
};

new_behavior: new_behavior {
compatible = "zmk,behavior-tap-dance";
label = "NEW_BEHAVIOR";
#binding-cells = <0>;
tapping-term-ms = <200>;
bindings = <&mo 6>, <&mo 4>;
};
};




keymap {
compatible = "zmk,keymap";

Expand All @@ -81,10 +98,10 @@
// | GUI | LWR | SPC | | ENT | RSE | ALT |

bindings = <
&tabesc &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&shiftlayer &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &lmt PRINTSCREEN SLASH &mt RIGHT_CONTROL ENTER
&kp LEFT_SHIFT &lmt LEFT_ALT LGUI &lmt LCTRL SPACE &lmt LEFT_SHIFT SPACE &lmo 2 BSPC &lmt LCTRL ENTER
&tabesc &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&to 6 &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH &lmo 5 PRINTSCREEN
&kp LEFT_SHIFT &kp LEFT_ALT &kp SPACE &kp RIGHT_WIN &lmo 2 BSPC &lmt LCTRL ENTER
>;
};

Expand All @@ -96,10 +113,10 @@
// | GUI | | SPC | | ENT | | ALT |

bindings = <
&trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &kp RIGHT_ALT &kp SPACE &trans &trans &kp RIGHT_ALT
&tabesc &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp GRAVE
&l6l4 &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMICOLON &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp PERIOD &kp SLASH &lmo 5 PRINTSCREEN
&kp LEFT_SHIFT &kp LCMD &kp SPACE &kp LCTRL &lmo 1 BACKSPACE &lmt LCTRL ENTER
>;
};

Expand All @@ -111,22 +128,47 @@
// | GUI | | SPC | | ENT | | ALT |

bindings = <
&trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
&trans &trans &trans &trans &trans &trans &kp LEFT_ARROW &kp DOWN_ARROW &kp UP_ARROW &kp RIGHT_ARROW &trans &kp DELETE
&trans &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp BACKSLASH &trans
&trans &kp RIGHT_ALT &kp SPACE &trans &trans &kp RALT
&kp TAB &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
&trans &trans &trans &trans &trans &trans &kp LEFT_ARROW &kp DOWN_ARROW &kp UP_ARROW &kp RIGHT_ARROW &trans &kp DELETE
&trans &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp BACKSLASH &trans
&trans &kp LEFT_WIN &kp SPACE &trans &trans &kp RALT
>;
};

Then_Layer {
bindings = <
&trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp C_VOL_UP
&trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &kp F11 &kp F12 &kp C_VOL_DN
&kp PRINTSCREEN &trans &trans &trans &trans &bt BT_CLR &trans &trans &trans &trans &trans &kp C_MUTE
&trans &trans &trans &trans &trans &trans
&trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp C_VOL_UP
&trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &kp F11 &kp F12 &kp C_VOL_DN
&trans &trans &trans &trans &trans &bt BT_CLR &kp HOME &kp END &trans &trans &trans &kp C_MUTE
&trans &trans &trans &trans &trans &trans
>;
};

FNs { bindings = < &trans &kp Y &kp U &kp I &kp O &kp P &trans &trans &kp UP_ARROW &trans &trans &trans &trans &kp H &kp J &kp K &kp L &trans &trans &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW &trans &trans &trans &kp N &kp M &kp COMMA &kp DOT &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans >; };
FNs {
bindings = <
&trans &kp Y &kp U &kp I &kp O &kp P &trans &trans &kp UP_ARROW &trans &trans &trans
&trans &kp H &kp J &kp K &kp L &bt BT_SEL 0 &trans &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW &trans &trans
&trans &kp N &kp M &kp COMMA &kp DOT &bt BT_CLR &kp HOME &kp END &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans
>;
};

Layer__5 {
bindings = <
&trans &trans &trans &trans &trans &trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6
&trans &trans &trans &trans &trans &trans &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
&trans &trans &trans &trans &trans &trans &trans &trans &kp C_VOLUME_UP &kp C_VOLUME_DOWN &kp C_PLAY_PAUSE &trans
&trans &trans &trans &to 1 &to 0 &trans
>;
};

layer_6 {
bindings = <
&bt BT_CLR_ALL &bt BT_SEL 0 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &kp LEFT_ALT &trans &trans &trans &trans
>;
};
};
};