Skip to content

Commit

Permalink
Updated keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
adv360proapp[bot] authored Aug 28, 2024
1 parent e2b4230 commit 2e79b3f
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 65 deletions.
77 changes: 35 additions & 42 deletions config/adv360.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -19,71 +19,64 @@
#include <dt-bindings/zmk/backlight.h>

/ {
behaviors {
#include "macros.dtsi"
#include "version.dtsi"
#ifndef VERSION_MACRO
macro_ver: macro_ver {
compatible = "zmk,behavior-macro";
label = "macro_version";
#binding-cells = <0>;
bindings = <&kp RET>;
};
#endif
behaviors {
#include "macros.dtsi"
#include "version.dtsi"

hm: homerow_mods {
compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS";
#binding-cells = <2>;
tapping-term-ms = <200>;
quick_tap_ms = <175>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
hm: homerow_mods {
compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS";
#binding-cells = <2>;
tapping-term-ms = <200>;
quick_tap_ms = <175>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
};

keymap {
compatible = "zmk,keymap";


default_layer {
bindings = <
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 0 &mo 3 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
&kp TAB &kp Q &kp W &kp E &kp R &kp T &none &none &kp Y &kp U &kp I &kp O &kp P &kp BSLH
&kp ESC &kp A &kp S &kp D &kp F &kp G &none &kp LCTRL &kp LALT &kp LGUI &kp RCTRL &none &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LSHFT &mt LCTRL Z &kp X &kp C &kp V &kp B &kp HOME &kp PG_UP &kp N &kp M &kp COMMA &kp DOT &mt RCTRL SLASH &kp RSHFT
&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &kp BACKSPACE &kp SPACE &kp END &kp PG_DN &kp ENTER &kp DELETE &kp UP &kp DOWN &kp LBKT &kp RBKT &mo 1
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 0 &mo 3 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
&kp TAB &kp Q &kp W &kp E &kp R &kp T &macro_termcopy &macro_termpaste &kp Y &kp U &kp I &kp O &kp P &kp BSLH
&sk LEFT_GUI &kp A &kp S &kp D &kp F &kp G &macro_menu &kp LCTRL &kp LALT &kp LGUI &kp ESCAPE &macro_term &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&sk LEFT_SHIFT &mt LCTRL Z &kp X &kp C &kp V &kp B &kp HOME &kp PG_UP &kp N &kp M &kp COMMA &kp DOT &mt RCTRL SLASH &sk RIGHT_SHIFT
&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &kp BACKSPACE &kp SPACE &kp END &kp PG_DN &kp ENTER &kp DELETE &kp UP &kp DOWN &kp LBKT &kp RBKT &mo 1
>;
};

layer_keypad_symbols {
bindings = <
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 0 &mo 3 &kp N6 &kp KP_NUM &kp KP_EQUAL &kp KP_DIVIDE &kp KP_MULTIPLY &kp MINUS
&kp TAB &kp PERCENT &kp AMPERSAND &kp LEFT_BRACE &kp RIGHT_BRACE &kp ASTERISK &kp PRINTSCREEN &none &kp Y &kp N7 &kp N8 &kp N9 &kp KP_MINUS &kp BSLH
&kp ESC &kp DOLLAR &kp EXCLAMATION &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp POUND &macro_macro_screensht &kp LCTRL &kp LALT &kp LGUI &kp RCTRL &none &kp H &kp N4 &kp N5 &kp N6 &kp KP_PLUS &kp SQT
&kp LSHFT &kp DOUBLE_QUOTES &kp APOSTROPHE &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp GRAVE &kp HOME &kp PG_UP &kp N &kp N1 &kp N2 &kp N3 &kp KP_ENTER &kp RSHFT
&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &kp BSPC &kp DEL &kp END &kp PG_DN &kp ENTER &kp KP_N0 &kp UP &kp DOWN &kp KP_DOT &kp RBKT &mo 2
>;
};

layer_fn {
bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &to 0 &mo 3 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
&trans &trans &trans &trans &trans &trans &none &none &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &none &trans &trans &trans &trans &none &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 &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&kp EQUAL &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &tog 0 &mo 3 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11
&kp TAB &kp PERCENT &kp AMPERSAND &kp LEFT_BRACE &kp RIGHT_BRACE &kp ASTERISK &kp PRINTSCREEN &none &kp Y &kp N7 &kp N8 &kp N9 &kp KP_MINUS &kp F12
&kp ESC &kp DOLLAR &kp EXCLAMATION &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp POUND &macro_macro_screensht &kp LCTRL &kp LALT &kp LGUI &kp RCTRL &none &kp H &kp N4 &kp N5 &kp N6 &kp KP_PLUS &kp SQT
&kp LSHFT &kp DOUBLE_QUOTES &kp APOSTROPHE &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp GRAVE &kp HOME &kp PG_UP &kp N &kp N1 &kp N2 &kp N3 &kp KP_ENTER &kp RSHFT
&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &kp BSPC &kp DEL &kp END &kp PG_DN &kp ENTER &kp KP_N0 &kp UP &kp DOWN &kp KP_DOT &kp RBKT &mo 2
>;
};

layer_mod {
bindings = <
&none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &to 0 &trans &none &none &none &none &none &none
&none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &trans &none &none &none &none &none &none
&none &none &none &none &none &none &bootloader &bootloader &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &bt BT_CLR &none &rgb_ug RGB_MEFS_CMD 5 &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &macro_ver &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &bl BL_TOG &rgb_ug RGB_TOG &bl BL_INC &bl BL_DEC &none &none &none
>;
};

layer_navigation {
bindings = <
&trans &macro_move_workspace1 &macro_move_workspace2 &macro_move_workspace3 &macro_move_workspace4 &macro_move_workspace5 &trans &trans &macro_move_workspace6 &macro_move_workspace7 &macro_move_workspace8 &macro_move_workspace9 &trans &trans
&trans &trans &kp K_CUT &kp K_COPY &kp K_PASTE &trans &trans &to 0 &kp HOME &kp PG_UP &kp PG_DN &kp END &trans &trans
&trans &kp LGUI &kp LEFT_ALT &kp LEFT_CONTROL &kp LSHIFT &trans &trans &trans &trans &trans &trans &trans &kp LEFT &kp UP &kp DOWN &kp RIGHT &trans &trans
&trans &trans &trans &trans &kp COLON &trans &trans &trans &kp TAB &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
};

};
};
71 changes: 70 additions & 1 deletion config/cust_keycodes.json
Original file line number Diff line number Diff line change
@@ -1 +1,70 @@
[]
[
{
"names": [
"0"
],
"description": "0",
"clarify": false,
"documentation": "",
"os": {
"windows": true,
"linux": true,
"android": true,
"macos": true,
"ios": true
},
"footnotes": {},
"type": "UD"
},
{
"names": [
"0"
],
"description": "0",
"clarify": false,
"documentation": "",
"os": {
"windows": true,
"linux": true,
"android": true,
"macos": true,
"ios": true
},
"footnotes": {},
"type": "UD"
},
{
"names": [
"base"
],
"description": "base",
"clarify": false,
"documentation": "",
"os": {
"windows": true,
"linux": true,
"android": true,
"macos": true,
"ios": true
},
"footnotes": {},
"type": "UD"
},
{
"names": [
"0"
],
"description": "0",
"clarify": false,
"documentation": "",
"os": {
"windows": true,
"linux": true,
"android": true,
"macos": true,
"ios": true
},
"footnotes": {},
"type": "UD"
}
]
Loading

0 comments on commit 2e79b3f

Please sign in to comment.