Skip to content

Commit 81c55d2

Browse files
keymap-editor[bot]Spencer Hall
authored andcommitted
Updated adv360.keymap
1 parent 66e40ef commit 81c55d2

File tree

2 files changed

+145
-179
lines changed

2 files changed

+145
-179
lines changed

config/adv360.keymap

Lines changed: 64 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
#include "general.h"
2-
#include <dt-bindings/zmk/stp.h>
3-
#include <dt-bindings/zmk/stp.h>
41
#include <dt-bindings/zmk/stp.h>
52
#include <behaviors.dtsi>
6-
#include <dt-bindings/zmk/keys.h>
3+
#include <dt-bindings/zmk/backlight.h>
74
#include <dt-bindings/zmk/bt.h>
5+
#include <dt-bindings/zmk/keys.h>
86
#include <dt-bindings/zmk/rgb.h>
9-
#include <dt-bindings/zmk/stp.h>
10-
#include <dt-bindings/zmk/backlight.h>
11-
#include <dt-bindings/zmk/pointing.h>
127

138
/ {
149
behaviors {
1510
#include "macros.dtsi"
1611
#include "version.dtsi"
12+
#ifndef VERSION_MACRO
1713

1814
macro_ver: macro_ver {
1915
compatible = "zmk,behavior-macro";
@@ -28,113 +24,81 @@
2824
compatible = "zmk,behavior-hold-tap";
2925
label = "HOMEROW_MODS";
3026
#binding-cells = <2>;
31-
tapping-term-ms = <280>;
32-
flavor = "balanced";
27+
tapping-term-ms = <200>;
28+
quick_tap_ms = <175>;
29+
flavor = "tap-preferred";
3330
bindings = <&kp>, <&kp>;
34-
35-
require-prior-idle-ms = <150>;
36-
quick-tap-ms = <175>;
37-
hold-trigger-key-positions = <29 30 31 32 41 42 43 44 15 16 63 64 24>;
38-
hold-trigger-on-release;
3931
};
32+
};
4033

41-
smart_shift: smart_shift {
42-
compatible = "zmk,behavior-mod-morph";
43-
label = "SMART_SHIFT";
44-
bindings = <&sk LEFT_SHIFT>, <&caps_word>;
34+
macros {
35+
};
4536

46-
#binding-cells = <0>;
47-
mods = <(MOD_LSFT)>;
48-
};
37+
keymap {
38+
compatible = "zmk,keymap";
4939

50-
smart_backspace: smart_backspace {
51-
compatible = "zmk,behavior-hold-tap";
52-
label = "SMART_BACKSPACE";
53-
bindings = <&mo>, <&kp>;
40+
default_layer {
41+
display-name = "Base";
42+
bindings = <
43+
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 1 &mo 3 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
44+
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp E &none &kp Y &kp U &kp I &kp O &kp P &kp BSLH
45+
&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
46+
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp HOME &kp PG_UP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
47+
&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &kp BSPC &kp DEL &kp END &kp PG_DN &kp ENTER &kp SPACE &kp UP &kp DOWN &kp LBKT &kp RBKT &mo 2
48+
>;
49+
};
5450

55-
#binding-cells = <2>;
56-
quick-tap-ms = <175>;
57-
tapping-term-ms = <280>;
58-
hold-trigger-key-positions = <65>;
59-
flavor = "balanced";
60-
require-prior-idle-ms = <150>;
61-
hold-trigger-on-release;
51+
keypad {
52+
display-name = "Kp";
53+
bindings = <
54+
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &trans &mo 3 &kp N6 &kp KP_NUM &kp KP_EQUAL &kp KP_DIVIDE &kp KP_MULTIPLY &kp MINUS
55+
&kp TAB &kp Q &kp W &kp E &kp R &kp T &none &none &kp Y &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &kp BSLH
56+
&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 KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &kp SQT
57+
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp HOME &kp PG_UP &kp N &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER &kp RSHFT
58+
&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
59+
>;
6260
};
6361

64-
num_word: num_word {
65-
#binding-cells = <0>;
66-
compatible = "zmk,behavior-num-word";
67-
continue-list = <BSPC DEL DOT COMMA PLUS MINUS STAR FSLH EQUAL>;
68-
ignore-numbers;
62+
fn {
63+
display-name = "Fn";
64+
bindings = <
65+
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &tog 1 &mo 3 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
66+
&trans &trans &trans &trans &trans &trans &none &none &trans &trans &trans &trans &trans &trans
67+
&trans &trans &trans &trans &trans &trans &none &trans &trans &trans &trans &none &trans &trans &trans &trans &trans &trans
68+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
69+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
70+
>;
6971
};
70-
};
7172

72-
macros {
73-
vim_write: vim_write {
74-
compatible = "zmk,behavior-macro";
75-
#binding-cells = <0>;
76-
bindings = <&kp COLON &kp W &kp ENTER>;
77-
label = "VIM_WRITE";
73+
mod {
74+
display-name = "Mod";
75+
bindings = <
76+
&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
77+
&none &none &none &none &none &none &bootloader &bootloader &none &none &none &none &none &none
78+
&studio_unlock &none &none &none &none &none &none &none &none &bt BT_CLR &none &stp STP_BAT &none &none &none &none &none &none
79+
&none &none &none &none &macro_ver &none &none &none &none &none &none &none &none &none
80+
&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
81+
>;
7882
};
7983

80-
default_layer {
81-
display-name = "Base";
82-
bindings = <
83-
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 1 &mo 3 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
84-
&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
85-
&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
86-
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp HOME &kp PG_UP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
87-
&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &kp BSPC &kp DEL &kp END &kp PG_DN &kp ENTER &kp SPACE &kp UP &kp DOWN &kp LBKT &kp RBKT &mo 2
88-
>;
89-
};
90-
keypad {
91-
display-name = "Kp";
92-
bindings = <
93-
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &trans &mo 3 &kp N6 &kp KP_NUM &kp KP_EQUAL &kp KP_DIVIDE &kp KP_MULTIPLY &kp MINUS
94-
&kp TAB &kp Q &kp W &kp E &kp R &kp T &none &none &kp Y &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &kp BSLH
95-
&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 KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &kp SQT
96-
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp HOME &kp PG_UP &kp N &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER &kp RSHFT
97-
&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
98-
>;
99-
};
100-
fn {
101-
display-name = "Fn";
102-
bindings = <
103-
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &tog 1 &mo 3 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
104-
&trans &trans &trans &trans &trans &trans &none &none &trans &trans &trans &trans &trans &trans
105-
&trans &trans &trans &trans &trans &trans &none &trans &trans &trans &trans &none &trans &trans &trans &trans &trans &trans
106-
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
107-
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
108-
>;
109-
};
110-
mod {
111-
display-name = "Mod";
112-
bindings = <
113-
&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
114-
&none &none &none &none &none &none &bootloader &bootloader &none &none &none &none &none &none
115-
&studio_unlock &none &none &none &none &none &none &none &none &bt BT_CLR &none &stp STP_BAT &none &none &none &none &none &none
116-
&none &none &none &none &macro_ver &none &none &none &none &none &none &none &none &none
117-
&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
118-
>;
119-
};
120-
extra1 {
121-
display-name = "Red";
122-
status = "reserved";
123-
};
84+
extra1 {
85+
display-name = "Red";
86+
status = "reserved";
87+
};
12488

125-
extra2 {
126-
display-name = "Purple";
127-
status = "reserved";
128-
};
89+
extra2 {
90+
display-name = "Purple";
91+
status = "reserved";
92+
};
12993

130-
extra3 {
131-
display-name = "Cyan";
132-
status = "reserved";
133-
};
94+
extra3 {
95+
display-name = "Cyan";
96+
status = "reserved";
97+
};
13498

135-
extra4 {
136-
display-name = "Yellow";
137-
status = "reserved";
99+
extra4 {
100+
display-name = "Yellow";
101+
status = "reserved";
102+
};
138103
};
139-
};
140104
};

0 commit comments

Comments
 (0)