forked from KinesisCorporation/Adv360-Pro-ZMK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2287fd
commit 3b308a2
Showing
2 changed files
with
132 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,95 @@ | ||
|
||
/* | ||
* Copyright (c) 2020 The ZMK Contributors | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
|
||
/* THIS FILE WAS GENERATED! | ||
* | ||
* This file was generated automatically. You may or may not want to | ||
* edit it directly. | ||
*/ | ||
|
||
#include <behaviors.dtsi> | ||
#include <dt-bindings/zmk/keys.h> | ||
#include <dt-bindings/zmk/backlight.h> | ||
#include <dt-bindings/zmk/bt.h> | ||
#include <dt-bindings/zmk/keys.h> | ||
#include <dt-bindings/zmk/rgb.h> | ||
#include <dt-bindings/zmk/backlight.h> | ||
|
||
/ { | ||
behaviors { | ||
#include "macros.dtsi" | ||
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>; | ||
}; | ||
|
||
magicbullet: magicbullet { | ||
compatible = "zmk,behavior-mod-morph"; | ||
label = "MAGICBULLET"; | ||
bindings = <&kp N8>, <&bullet_macro>; | ||
|
||
#binding-cells = <0>; | ||
mods = <(MOD_LCTL)>; | ||
}; | ||
}; | ||
|
||
macros { | ||
bullet_macro: bullet_macro { | ||
compatible = "zmk,behavior-macro"; | ||
#binding-cells = <0>; | ||
bindings = <&kp LS(LC(U)) &kp N2 &kp N0 &kp N2 &kp N2 &kp SPACE>; | ||
label = "BULLET_MACRO"; | ||
}; | ||
}; | ||
}; | ||
|
||
keymap { | ||
compatible = "zmk,keymap"; | ||
|
||
|
||
default_layer { | ||
bindings = < | ||
&kp ESC &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 | ||
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp PRINTSCREEN &kp K_SLEEP &kp Y &kp U &kp I &kp O &kp P &kp EQUAL | ||
&kp BACKSLASH &kp A &kp S &kp D &kp F &kp G &none &none &kp HOME &kp RMETA &kp RCTRL &none &kp H &kp J &kp K &kp L &kp SEMI &kp SQT | ||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp END &kp PG_UP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT | ||
&kp LCTRL &kp RALT &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp GRAVE &kp BSPC &kp DELETE &kp LCTRL &kp PG_DN &kp ENTER &kp SPACE &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp LMETA | ||
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 1 &mo 3 &kp N6 &kp N7 &magicbullet &kp N9 &kp N0 &kp MINUS | ||
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp PRINTSCREEN &kp K_SLEEP &kp Y &kp U &kp I &kp O &kp P &kp EQUAL | ||
&kp BACKSLASH &kp A &kp S &kp D &kp F &kp G &none &none &kp HOME &kp RMETA &kp RCTRL &none &kp H &kp J &kp K &kp L &kp SEMI &kp SQT | ||
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp END &kp PG_UP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT | ||
&kp LCTRL &kp RALT &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp GRAVE &kp BSPC &kp DELETE &kp LCTRL &kp PG_DN &kp ENTER &kp SPACE &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp LMETA | ||
>; | ||
}; | ||
|
||
layer_keypad { | ||
bindings = < | ||
&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 | ||
&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 | ||
&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 | ||
&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 | ||
&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 | ||
&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 | ||
&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 | ||
&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 | ||
&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 | ||
&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 &tog 1 &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 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 | ||
&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 | ||
>; | ||
}; | ||
|
||
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 &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 ¯o_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 | ||
&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 ¯o_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 | ||
>; | ||
}; | ||
|
||
}; | ||
}; |
Oops, something went wrong.