Skip to content

Commit

Permalink
Update keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
Machione committed Nov 13, 2023
1 parent adf595b commit 7d163e0
Showing 1 changed file with 16 additions and 25 deletions.
41 changes: 16 additions & 25 deletions config/cornetto.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>

&lt {
tapping-term-ms = <150>;
};
&mt {
tapping-term-ms = <150>;
};


/ {
keymap {
compatible = "zmk,keymap";
Expand All @@ -20,41 +28,24 @@

numbers {
bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10
&kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0
&kp PLUS &kp MINUS &kp ASTERISK &kp SLASH &kp EQUAL &kp DOT &kp CARET &kp PERCENT &kp F11 &kp F12
&trans &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 N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0
&kp CARET &kp PERCENT &kp PLUS &kp MINUS &kp DOT &kp EQUAL &kp ASTERISK &kp SLASH &kp F11 &kp F12
&none &none &none &none &none &none &none &none
>;

sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PAGE_UP PAGE_DOWN>;

label = "numbers";
};

symbols {
bindings = <
&trans &kp GRAVE &kp SINGLE_QUOTE &kp DOUBLE_QUOTES &trans &kp LA(NUMBER_4) &kp LS(NUMBER_3) &kp DOLLAR &trans &kp PIPE
&kp AMPERSAND &kp EXCLAMATION &kp QUESTION &kp SEMICOLON &kp MINUS &kt LEFT_BRACE &kp LEFT_PARENTHESIS &kp LEFT_BRACKET &kp LESS_THAN &kp SLASH
&kp ESC &kp COLON &kp HASH &kp TILDE &kp UNDERSCORE &kp RIGHT_BRACE &kp RIGHT_PARENTHESIS &kp RIGHT_BRACKET &kp GREATER_THAN &kp BACKSLASH
&trans &trans &trans &trans &trans &trans &trans &trans
&kp NON_US_BACKSLASH &kp PIPE2 &kp AT &kp BACKSLASH &kp PIPE &kp PLUS &kp EQUAL &kp UNDERSCORE &kp LS(N3) &kp DOLLAR
&kp AMPERSAND &kp EXCLAMATION &kp MINUS &kp LEFT_PARENTHESIS &kp LEFT_BRACKET &kp LEFT_BRACE &kp LEFT_ARROW &kp DOWN &kp UP_ARROW &kp RIGHT_ARROW
&kp GRAVE &kp SINGLE_QUOTE &kp LS(N2) &kp RIGHT_PARENTHESIS &kp RIGHT_BRACKET &kp RIGHT_BRACE &kp PERCENT &kp CARET &kp ASTERISK &kp SLASH
&none &none &none &none &none &none &none &none
>;

sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PAGE_UP PAGE_DOWN>;

label = "symbols";
};

arrows {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &kp LEFT_ARROW &kp DOWN &kp UP_ARROW &kp RIGHT_ARROW
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans
>;

sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PAGE_UP PAGE_DOWN>;

label = "arrows";
};
};
};

0 comments on commit 7d163e0

Please sign in to comment.