Updated swweeep.keymap
This commit is contained in:
committed by
GitHub
parent
5620f2f78d
commit
d217ee7a99
@@ -1,47 +1,50 @@
|
||||
{
|
||||
"id": "swweeep",
|
||||
"name": "swweeep",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{ "label": "Q", "row": 0, "col": 0, "x": 1, "y": 0.360 },
|
||||
{ "label": "W", "row": 0, "col": 1, "x": 2, "y": 0.110 },
|
||||
{ "label": "E", "row": 0, "col": 2, "x": 3, "y": -0.015 },
|
||||
{ "label": "R", "row": 0, "col": 3, "x": 4, "y": 0.110 },
|
||||
{ "label": "T", "row": 0, "col": 4, "x": 5, "y": 0.235 },
|
||||
{ "label": "Y", "row": 0, "col": 6, "x": 9, "y": 0.235 },
|
||||
{ "label": "U", "row": 0, "col": 7, "x": 10, "y": 0.110 },
|
||||
{ "label": "I", "row": 0, "col": 8, "x": 11, "y": -0.015 },
|
||||
{ "label": "O", "row": 0, "col": 9, "x": 12, "y": 0.110 },
|
||||
{ "label": "P", "row": 0, "col": 10, "x": 13, "y": 0.360 },
|
||||
{ "label": "Q", "row": 0, "col": 0, "x": 1, "y": 0.36 },
|
||||
{ "label": "W", "row": 0, "col": 1, "x": 2, "y": 0.11 },
|
||||
{ "label": "E", "row": 0, "col": 2, "x": 3, "y": -0.015 },
|
||||
{ "label": "R", "row": 0, "col": 3, "x": 4, "y": 0.11 },
|
||||
{ "label": "T", "row": 0, "col": 4, "x": 5, "y": 0.235 },
|
||||
{ "label": "Y", "row": 0, "col": 6, "x": 9, "y": 0.235 },
|
||||
{ "label": "U", "row": 0, "col": 7, "x": 10, "y": 0.11 },
|
||||
{ "label": "I", "row": 0, "col": 8, "x": 11, "y": -0.015 },
|
||||
{ "label": "O", "row": 0, "col": 9, "x": 12, "y": 0.11 },
|
||||
{ "label": "P", "row": 0, "col": 10, "x": 13, "y": 0.36 },
|
||||
|
||||
{ "label": "A", "row": 1, "col": 0, "x": 1, "y": 1.360 },
|
||||
{ "label": "S", "row": 1, "col": 1, "x": 2, "y": 1.110 },
|
||||
{ "label": "D", "row": 1, "col": 2, "x": 3, "y": 0.985 },
|
||||
{ "label": "F", "row": 1, "col": 3, "x": 4, "y": 1.110 },
|
||||
{ "label": "G", "row": 1, "col": 4, "x": 5, "y": 1.235 },
|
||||
{ "label": "H", "row": 1, "col": 6, "x": 9, "y": 1.235 },
|
||||
{ "label": "J", "row": 1, "col": 7, "x": 10, "y": 1.110 },
|
||||
{ "label": "K", "row": 1, "col": 8, "x": 11, "y": 0.985 },
|
||||
{ "label": "L", "row": 1, "col": 9, "x": 12, "y": 1.110 },
|
||||
{ "label": ";", "row": 1, "col": 10, "x": 13, "y": 1.360 },
|
||||
{ "label": "A", "row": 1, "col": 0, "x": 1, "y": 1.36 },
|
||||
{ "label": "S", "row": 1, "col": 1, "x": 2, "y": 1.11 },
|
||||
{ "label": "D", "row": 1, "col": 2, "x": 3, "y": 0.985 },
|
||||
{ "label": "F", "row": 1, "col": 3, "x": 4, "y": 1.11 },
|
||||
{ "label": "G", "row": 1, "col": 4, "x": 5, "y": 1.235 },
|
||||
{ "label": "H", "row": 1, "col": 6, "x": 9, "y": 1.235 },
|
||||
{ "label": "J", "row": 1, "col": 7, "x": 10, "y": 1.11 },
|
||||
{ "label": "K", "row": 1, "col": 8, "x": 11, "y": 0.985 },
|
||||
{ "label": "L", "row": 1, "col": 9, "x": 12, "y": 1.11 },
|
||||
{ "label": ";", "row": 1, "col": 10, "x": 13, "y": 1.36 },
|
||||
|
||||
{ "label": "Z", "row": 2, "col": 0, "x": 1, "y": 2.360 },
|
||||
{ "label": "X", "row": 2, "col": 1, "x": 2, "y": 2.110 },
|
||||
{ "label": "C", "row": 2, "col": 2, "x": 3, "y": 1.985 },
|
||||
{ "label": "V", "row": 2, "col": 3, "x": 4, "y": 2.110 },
|
||||
{ "label": "B", "row": 2, "col": 4, "x": 5, "y": 2.235 },
|
||||
{ "label": "N", "row": 2, "col": 6, "x": 9, "y": 2.235 },
|
||||
{ "label": "M", "row": 2, "col": 7, "x": 10, "y": 2.110 },
|
||||
{ "label": ",", "row": 2, "col": 8, "x": 11, "y": 1.985 },
|
||||
{ "label": ".", "row": 2, "col": 9, "x": 12, "y": 2.110 },
|
||||
{ "label": "/", "row": 2, "col": 10, "x": 13, "y": 2.360 },
|
||||
{ "label": "Z", "row": 2, "col": 0, "x": 1, "y": 2.36 },
|
||||
{ "label": "X", "row": 2, "col": 1, "x": 2, "y": 2.11 },
|
||||
{ "label": "C", "row": 2, "col": 2, "x": 3, "y": 1.985 },
|
||||
{ "label": "V", "row": 2, "col": 3, "x": 4, "y": 2.11 },
|
||||
{ "label": "B", "row": 2, "col": 4, "x": 5, "y": 2.235 },
|
||||
{ "label": "N", "row": 2, "col": 6, "x": 9, "y": 2.235 },
|
||||
{ "label": "M", "row": 2, "col": 7, "x": 10, "y": 2.11 },
|
||||
{ "label": ",", "row": 2, "col": 8, "x": 11, "y": 1.985 },
|
||||
{ "label": ".", "row": 2, "col": 9, "x": 12, "y": 2.11 },
|
||||
{ "label": "/", "row": 2, "col": 10, "x": 13, "y": 2.36 },
|
||||
|
||||
{ "label": "A", "row": 3, "col": 3, "x": 3.48, "y": 3.13 },
|
||||
{ "label": "A", "row": 3, "col": 4, "x": 3.48, "y": 3.13, "r": 15, "rx": 3.98, "ry": 7.63 },
|
||||
{ "label": "A", "row": 3, "col": 5, "x": 3.48, "y": 2.63, "r": 30, "rx": 3.98, "ry": 7.63 },
|
||||
{ "label": "A", "row": 3, "col": 6, "x": 10.52, "y": 2.63, "r": -30, "rx": 11.02, "ry": 7.63 },
|
||||
{ "label": "A", "row": 3, "col": 7, "x": 10.52, "y": 3.13, "r": -15, "rx": 11.02, "ry": 7.63 },
|
||||
{ "label": "A", "row": 3, "col": 8, "x": 10.52, "y": 3.13 }
|
||||
{ "label": "A", "row": 3, "col": 3, "x": 3.48, "y": 3.13 },
|
||||
{ "label": "A", "row": 3, "col": 4, "x": 3.48, "y": 3.13, "r": 15, "rx": 3.98, "ry": 7.63 },
|
||||
{ "label": "A", "row": 3, "col": 5, "x": 3.48, "y": 2.63, "r": 30, "rx": 3.98, "ry": 7.63 },
|
||||
{ "label": "A", "row": 3, "col": 6, "x": 10.52, "y": 2.63, "r": -30, "rx": 11.02, "ry": 7.63 },
|
||||
{ "label": "A", "row": 3, "col": 7, "x": 10.52, "y": 3.13, "r": -15, "rx": 11.02, "ry": 7.63 },
|
||||
{ "label": "A", "row": 3, "col": 8, "x": 10.52, "y": 3.13 }
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"sensors": []
|
||||
}
|
||||
@@ -1,7 +1,5 @@
|
||||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <dt-bindings/zmk/bt.h>
|
||||
#include <dt-bindings/zmk/outputs.h>
|
||||
|
||||
#define DEFAULT 0
|
||||
#define NAV 1
|
||||
@@ -18,16 +16,19 @@
|
||||
/ {
|
||||
combos {
|
||||
compatible = "zmk,combos";
|
||||
|
||||
combo_undo {
|
||||
timeout-ms = <50>;
|
||||
key-positions = <20 21>;
|
||||
bindings = <&kp LC(Z)>;
|
||||
};
|
||||
|
||||
combo_q {
|
||||
timeout-ms = <50>;
|
||||
key-positions = <21 22>;
|
||||
bindings = <&kp Q>;
|
||||
};
|
||||
|
||||
combo_semicolon {
|
||||
timeout-ms = <50>;
|
||||
key-positions = <27 28>;
|
||||
@@ -37,7 +38,6 @@
|
||||
};
|
||||
|
||||
/ {
|
||||
|
||||
behaviors {
|
||||
hm: homerow_mods {
|
||||
compatible = "zmk,behavior-hold-tap";
|
||||
@@ -46,7 +46,9 @@
|
||||
tapping-term-ms = <200>;
|
||||
quick_tap_ms = <0>;
|
||||
flavor = "balanced";
|
||||
bindings = <&kp>, <&kp>;
|
||||
bindings =
|
||||
<&kp>,
|
||||
<&kp>;
|
||||
};
|
||||
hs: homerow_shift {
|
||||
compatible = "zmk,behavior-hold-tap";
|
||||
@@ -55,7 +57,9 @@
|
||||
tapping-term-ms = <175>;
|
||||
quick_tap_ms = <0>;
|
||||
flavor = "balanced";
|
||||
bindings = <&kp>, <&kp>;
|
||||
bindings =
|
||||
<&kp>,
|
||||
<&kp>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -64,78 +68,20 @@
|
||||
|
||||
default_layer {
|
||||
label = "Default";
|
||||
|
||||
bindings = <
|
||||
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
|
||||
&kp A &kp S &kp D &kp F &kp G &kp H &kp K &kp L &kp L &kp SEMI
|
||||
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH
|
||||
&kp A &kp A &kp A &kp A &kp A &kp A
|
||||
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
|
||||
&kp A &kp S &kp D &kp F &kp G &kp H &kp K &kp L &kp L &kp SEMI
|
||||
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH
|
||||
&kp A &kp A &kp A &kp A &kp A &kp A
|
||||
>;
|
||||
};
|
||||
|
||||
nav_layer {
|
||||
label = "Navigation";
|
||||
|
||||
raise {
|
||||
bindings = <
|
||||
&kp ESC &kp PG_UP &kp UP &kp PG_DN &trans &kp ASTRK &kp N7 &kp N8 &kp N9 &kp MINUS
|
||||
&kp HOME &kp LEFT &kp DOWN &kp RIGHT &kp END &kp FSLH &kp N4 &kp N5 &kp N6 &kp PLUS
|
||||
&trans &trans &trans &trans &trans &kp EQUAL &kp N1 &kp N2 &kp N3 &kp N0
|
||||
&trans &trans &kp TAB &kp BSPC &kp SPACE &kp DOT
|
||||
>;
|
||||
};
|
||||
|
||||
sym_layer {
|
||||
label = "Symbols";
|
||||
|
||||
bindings = <
|
||||
&kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp UNDER &kp EQUAL
|
||||
&kp MINUS &kp LBKT &kp LBRC &kp LPAR &kp LT &kp GT &kp RPAR &kp RBRC &kp RBKT &kp PLUS
|
||||
&kp CAPS &kp GRAVE &kp LC(LS(TAB)) &kp LC(LG(LEFT)) &caps_word &trans &kp LC(LG(RIGHT)) &kp LC(TAB) &trans &kp BSLH
|
||||
&trans &kp RET &kp DEL &kp BSPC &trans &trans
|
||||
>;
|
||||
};
|
||||
|
||||
func_layer {
|
||||
label = "Function";
|
||||
|
||||
bindings = <
|
||||
&bootloader &kp LS(PG_UP) &kp LS(UP) &kp LS(PG_DN) &trans &kp C_MUTE &kp F7 &kp F8 &kp F9 &kp F10
|
||||
&kp LS(HOME) &kp LS(LEFT) &kp LS(DOWN) &kp LS(RIGHT) &kp LS(END) &kp K_VOL_UP &kp F4 &kp F5 &kp F6 &kp F11
|
||||
&bt BT_SEL 3 &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0 &bt BT_CLR &kp K_VOL_DN &kp F1 &kp F2 &kp F3 &kp F12
|
||||
&out OUT_USB &out OUT_BLE &trans &kp C_PLAY_PAUSE &trans &kp SPACE
|
||||
>;
|
||||
};
|
||||
|
||||
media_layer {
|
||||
label = "Media";
|
||||
|
||||
bindings = <
|
||||
&trans &trans &trans &trans &trans &trans &bt BT_PRV &bt BT_NXT &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3
|
||||
&trans &trans &trans &trans &out OUT_BLE &out OUT_USB
|
||||
>;
|
||||
};
|
||||
|
||||
mouse_layer {
|
||||
label = "Mouse";
|
||||
|
||||
bindings = <
|
||||
&bootloader &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
|
||||
>;
|
||||
};
|
||||
|
||||
winnav_layer {
|
||||
label = "Win Navigation";
|
||||
|
||||
bindings = <
|
||||
&trans &trans &kp LG(UP) &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &kp LG(LEFT) &kp LG(DOWN) &kp LG(RIGHT) &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans
|
||||
&kp NUMBER_1 &kp NUMBER_2 &kp NUMBER_3 &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
|
||||
>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user