Skip to content

Commit

Permalink
asrt
Browse files Browse the repository at this point in the history
  • Loading branch information
martypenner committed Nov 6, 2024
1 parent a5dd43d commit 465d006
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 0 deletions.
117 changes: 117 additions & 0 deletions config/adv360 copy.keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/backlight.h>

&caps_word { continue-list = <UNDERSCORE MINUS BACKSPACE DELETE>; };

&sk {
release-after-ms = <500>;
quick-release;

/delete-property/ ignore-modifiers;
};

/ {
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

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>;
};

altF4: alt_f4 {
compatible = "zmk,behavior-tap-dance";
label = "ALT_F4";
#binding-cells = <0>;
tapping-term-ms = <200>;
bindings = <&kp LEFT_PARENTHESIS>, <&kp LA(F4)>;
};
};

macros {
arrow_fn: arrow_fn {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp SPACE &kp EQUAL &kp GREATER_THAN &kp SPACE &kp LEFT_BRACE &kp RIGHT_BRACE>;
label = "ARROW_FN";
};

fat_arrow: fat_arrow {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp EQUAL &kp GREATER_THAN &kp SPACE &kp LEFT_BRACE &kp RIGHT_BRACE>;
label = "FAT_ARROW";
};
};

keymap {
compatible = "zmk,keymap";

default_layer {
bindings = <
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 2 &tog 3 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
&kp TAB &kp Q &kp W &kp F &kp P &kp B &none &none &kp J &kp L &kp U &kp Y &kp SEMICOLON &kp BSLH
&lt 1 ESC &kp A &hm LALT R &hm LGUI S &kp T &kp G &kp LC(LA(LG(LEFT_SHIFT))) &kp LCTRL &kp LALT &kp LGUI &kp RCTRL &kp LC(LA(LSHIFT)) &kp M &kp N &kp E &hm LALT I &kp O &lt 1 SQT
&sk LEFT_SHIFT &kp Z &kp X &kp C &kp D &kp V &none &none &kp HOME &none &none &kp PG_UP &none &none &kp K &kp H &kp COMMA &kp DOT &kp FSLH &sk RIGHT_SHIFT
&altF4 &caps_word &kp GRAVE &kp LEFT &kp RIGHT_ARROW &kp SPACE &kp BACKSPACE &kp END &kp PG_DN &kp DELETE &kp ENTER &kp UP &kp DOWN &kp LBKT &kp RBKT &tog 4
>;
};

layer_symbols {
bindings = <
&trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &trans &trans &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &trans
&trans &kp EQUAL &kp GREATER_THAN &kp LEFT_BRACE &kp RIGHT_BRACE &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &kp SEMICOLON &kp COLON &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp GRAVE &trans &trans &trans &trans &trans &trans &trans &arrow_fn &fat_arrow &none &trans &trans
&trans &trans &trans &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp TILDE &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp F11 &kp F12 &kp SYSREQ &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
};

layer_gaming {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&kp TAB &kp Q &kp W &kp E &kp R &kp T &none &none &kp Y &kp U &kp I &kp O &kp P &trans
&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 SEMICOLON &trans
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &none &none &kp HOME &none &none &kp PG_UP &none &none &kp N &kp M &trans &trans &trans &kp RSHFT
&trans &kp LEFT &kp UP &kp DOWN &kp RIGHT &kp SPACE &kp BSPC &kp END &kp PG_DN &kp DEL &kp ENTER &kp UP &kp DOWN &trans &trans &trans
>;
};

layer_audio {
bindings = <
&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 &trans &trans &trans &trans &trans &kp C_VOL_UP &kp C_VOL_DN &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 &trans &trans &trans
>;
};

layer_mod {
bindings = <
&none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none
&none &none &none &none &none &none &bootloader &bootloader &none &none &none &none &none &none
&none &none &none &none &none &none &rgb_ug RGB_MEFS_CMD 5 &bt BT_CLR &none &bt BT_CLR &bt BT_CLR &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 &none &none
&none &none &none &bl BL_INC &bl BL_DEC &rgb_ug RGB_TOG &bl BL_TOG &none &none &bl BL_TOG &rgb_ug RGB_TOG &bl BL_INC &bl BL_DEC &none &none &to 0
>;
};
};
};
97 changes: 97 additions & 0 deletions config/info copy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"id": "adv360",
"name": "adv360",
"layouts": {
"LAYOUT": {
"layout": [
{ "label": "=", "row": 0, "col": 0, "x": 0, "y": 0.25, "w": 1.25 },
{ "label": "1", "row": 0, "col": 1, "x": 1.25, "y": 0.25 },
{ "label": "2", "row": 0, "col": 2, "x": 2.25, "y": 0 },
{ "label": "3", "row": 0, "col": 3, "x": 3.25, "y": 0 },
{ "label": "4", "row": 0, "col": 4, "x": 4.25, "y": 0 },
{ "label": "5", "row": 0, "col": 5, "x": 5.25, "y": 0 },
{ "label": "mod1", "row": 0, "col": 6, "x": 6.25, "y": 0 },
{ "label": "mod2", "row": 0, "col": 13, "x": 10.75, "y": 0 },
{ "label": "6", "row": 0, "col": 14, "x": 11.75, "y": 0 },
{ "label": "7", "row": 0, "col": 15, "x": 12.75, "y": 0 },
{ "label": "8", "row": 0, "col": 16, "x": 13.75, "y": 0 },
{ "label": "9", "row": 0, "col": 17, "x": 14.75, "y": 0 },
{ "label": "0", "row": 0, "col": 18, "x": 15.75, "y": 0.25 },
{ "label": "-", "row": 0, "col": 19, "x": 16.75, "y": 0.25, "w": 1.25 },

{ "label": "Tab", "row": 1, "col": 0, "x": 0, "y": 1.25, "w": 1.25 },
{ "label": "Q", "row": 1, "col": 1, "x": 1.25, "y": 1.25 },
{ "label": "W", "row": 1, "col": 2, "x": 2.25, "y": 1 },
{ "label": "E", "row": 1, "col": 3, "x": 3.25, "y": 1 },
{ "label": "R", "row": 1, "col": 4, "x": 4.25, "y": 1 },
{ "label": "T", "row": 1, "col": 5, "x": 5.25, "y": 1 },
{ "label": "mod3", "row": 1, "col": 6, "x": 6.25, "y": 1 },
{ "label": "mod4", "row": 1, "col": 13, "x": 10.75, "y": 1 },
{ "label": "Y", "row": 1, "col": 14, "x": 11.75, "y": 1 },
{ "label": "U", "row": 1, "col": 15, "x": 12.75, "y": 1 },
{ "label": "I", "row": 1, "col": 16, "x": 13.75, "y": 1 },
{ "label": "O", "row": 1, "col": 17, "x": 14.75, "y": 1 },
{ "label": "P", "row": 1, "col": 18, "x": 15.75, "y": 1.25 },
{ "label": "\\", "row": 1, "col": 19, "x": 16.75, "y": 1.25, "w": 1.25 },

{ "label": "Caps", "row": 2, "col": 0, "x": 0, "y": 2.25, "w": 1.25 },
{ "label": "A", "row": 2, "col": 1, "x": 1.25, "y": 2.25 },
{ "label": "S", "row": 2, "col": 2, "x": 2.25, "y": 2 },
{ "label": "D", "row": 2, "col": 3, "x": 3.25, "y": 2 },
{ "label": "F", "row": 2, "col": 4, "x": 4.25, "y": 2 },
{ "label": "G", "row": 2, "col": 5, "x": 5.25, "y": 2 },
{ "label": "mod5", "row": 2, "col": 6, "x": 6.25, "y": 2 },
{ "label": "LCtrl", "row": 2, "col": 7, "x": 6.75, "y": 4, "r": 15, "rx": 5.25, "ry": 4 },
{ "label": "LAlt", "row": 2, "col": 8, "x": 7.75, "y": 4, "r": 15, "rx": 5.25, "ry": 4 },
{ "label": "LGui", "row": 2, "col": 11, "x": 9.25, "y": 4, "r": -15, "rx": 12.75, "ry": 4 },
{ "label": "RCtrl", "row": 2, "col": 12, "x": 10.25, "y": 4, "r": -15, "rx": 12.75, "ry": 4 },
{ "label": "mod6", "row": 2, "col": 13, "x": 10.75, "y": 2 },
{ "label": "H", "row": 2, "col": 14, "x": 11.75, "y": 2 },
{ "label": "J", "row": 2, "col": 15, "x": 12.75, "y": 2 },
{ "label": "K", "row": 2, "col": 16, "x": 13.75, "y": 2 },
{ "label": "L", "row": 2, "col": 17, "x": 14.75, "y": 2 },
{ "label": ";", "row": 2, "col": 18, "x": 15.75, "y": 2.25 },
{ "label": "'", "row": 2, "col": 19, "x": 16.75, "y": 2.25, "w": 1.25 },

{ "label": "LShift", "row": 3, "col": 0, "x": 0, "y": 3.25, "w": 1.25 },
{ "label": "Z", "row": 3, "col": 1, "x": 1.25, "y": 3.25 },
{ "label": "X", "row": 3, "col": 2, "x": 2.25, "y": 3 },
{ "label": "C", "row": 3, "col": 3, "x": 3.25, "y": 3 },
{ "label": "V", "row": 3, "col": 4, "x": 4.25, "y": 3 },
{ "label": "B", "row": 3, "col": 5, "x": 5.25, "y": 3 },
{ "label": "1U1", "row": 3, "col": 6, "x": 5.75, "y": 5, "r": 15, "rx": 5.25, "ry": 4, "h": 0 },
{ "label": "1U2", "row": 3, "col": 7, "x": 6.75, "y": 5, "r": 15, "rx": 5.25, "ry": 4, "h": 0 },
{ "label": "Home", "row": 3, "col": 8, "x": 7.75, "y": 5, "r": 15, "rx": 5.25, "ry": 4 },
{ "label": "Ped3", "row": 3, "col": 9, "x": 20, "y": 5 },
{ "label": "Ped4", "row": 3, "col": 10, "x": 21, "y": 5 },
{ "label": "PgUp", "row": 3, "col": 11, "x": 9.25, "y": 5, "r": -15, "rx": 12.75, "ry": 4 },
{ "label": "1U3", "row": 3, "col": 12, "x": 10.25, "y": 5, "r": -15, "rx": 12.75, "ry": 4, "h": 0 },
{ "label": "1U4", "row": 3, "col": 13, "x": 11.25, "y": 5, "r": -15, "rx": 12.75, "ry": 4, "h": 0 },
{ "label": "N", "row": 3, "col": 14, "x": 11.75, "y": 3 },
{ "label": "M", "row": 3, "col": 15, "x": 12.75, "y": 3 },
{ "label": ",", "row": 3, "col": 16, "x": 13.75, "y": 3 },
{ "label": ".", "row": 3, "col": 17, "x": 14.75, "y": 3 },
{ "label": "/", "row": 3, "col": 18, "x": 15.75, "y": 3.25 },
{ "label": "RShift", "row": 3, "col": 19, "x": 16.75, "y": 3.25, "w": 1.25 },

{ "label": "mod7", "row": 4, "col": 0, "x": 0, "y": 4.25, "w": 1.25 },
{ "label": "`", "row": 4, "col": 1, "x": 1.25, "y": 4.25 },
{ "label": "Caps", "row": 4, "col": 2, "x": 2.25, "y": 4 },
{ "label": "Left", "row": 4, "col": 3, "x": 3.25, "y": 4 },
{ "label": "Right", "row": 4, "col": 4, "x": 4.25, "y": 4 },
{ "label": "Bksp", "row": 4, "col": 6, "x": 5.75, "y": 5, "r": 15, "rx": 5.25, "ry": 4, "h": 2 },
{ "label": "Del", "row": 4, "col": 7, "x": 6.75, "y": 5, "r": 15, "rx": 5.25, "ry": 4, "h": 2 },
{ "label": "End", "row": 4, "col": 8, "x": 7.75, "y": 6, "r": 15, "rx": 5.25, "ry": 4 },
{ "label": "PgDn", "row": 4, "col": 11, "x": 9.25, "y": 6, "r": -15, "rx": 12.75, "ry": 4 },
{ "label": "RET", "row": 4, "col": 12, "x": 10.25, "y": 5, "r": -15, "rx": 12.75, "ry": 4, "h": 2 },
{ "label": "SPC", "row": 4, "col": 13, "x": 11.25, "y": 5, "r": -15, "rx": 12.75, "ry": 4, "h": 2 },
{ "label": "Up", "row": 4, "col": 15, "x": 12.75, "y": 4 },
{ "label": "Down", "row": 4, "col": 16, "x": 13.75, "y": 4 },
{ "label": ",", "row": 4, "col": 17, "x": 14.75, "y": 4 },
{ "label": ".", "row": 4, "col": 18, "x": 15.75, "y": 4.25 },
{ "label": "mod8", "row": 4, "col": 19, "x": 16.75, "y": 4.25, "w": 1.25 }
]
}
},
"sensors": []
}

0 comments on commit 465d006

Please sign in to comment.