-
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.
firmware(stable): add stable firmware files
- Loading branch information
Showing
3 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
#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> | ||
#include <dt-bindings/zmk/outputs.h> | ||
|
||
#define MEH LS(LA(LCTRL)) | ||
#define HYPER LS(LA(LC(LGUI))) | ||
|
||
#define CM 0 | ||
#define FN 1 | ||
#define KP 2 | ||
#define MOD 3 | ||
|
||
/ { | ||
keymap { | ||
compatible = "zmk,keymap"; | ||
|
||
colemakdh_layer { | ||
bindings = < | ||
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog FN &none &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp EQUAL | ||
&kp TAB &kp Q &kp W &kp F &kp P &kp B &rgb_ug RGB_MEFS_CMD 5 &none &kp J &kp L &kp U &kp Y &kp SEMI &kp BSLH | ||
&kp ESC &kp A &kp R &kp S &kp T &kp G &mo MOD &kp LCTRL &kp MEH &kp MEH &kp RCTRL &tog KP &kp M &kp N &kp E &kp I &kp O &kp SQT | ||
&mo FN &kp Z &kp X &kp C &kp D &kp V &kp LALT &kp LALT &kp K &kp H &kp COMMA &kp DOT &kp FSLH &kp MINUS | ||
&kp LSHFT &kp GRAVE &kp CAPS &kp LBKT &kp RBKT &kp SPACE &sk LSHFT &kp LGUI &kp LGUI &kp BSPC &kp ENTER &kp LEFT &kp DOWN &kp UP &kp RIGHT &mo MOD | ||
>; | ||
}; | ||
|
||
fn { | ||
bindings = < | ||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &trans &trans &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 | ||
&trans &trans &trans &kp LBKT &kp RBKT &trans &trans &trans &trans &trans &trans &trans &trans &trans | ||
&trans &trans &trans &kp LPAR &kp RPAR &trans &trans &trans &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans | ||
&trans &trans &trans &kp LBRC &kp RBRC &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 | ||
>; | ||
}; | ||
|
||
keypad { | ||
bindings = < | ||
&trans &trans &trans &trans &trans &trans &trans &trans &kp N6 &kp KP_NUM &kp KP_EQUAL &kp KP_DIVIDE &kp KP_MULTIPLY &kp MINUS | ||
&trans &trans &trans &trans &trans &trans &trans &trans &kp Y &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &kp BSLH | ||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp H &kp KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &kp SQT | ||
&trans &trans &trans &trans &trans &trans &trans &trans &kp N &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER &kp RSHFT | ||
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp COMMA &kp KP_N0 &kp KP_DOT &kp RBKT &mo 2 | ||
>; | ||
}; | ||
|
||
mod { | ||
bindings = < | ||
&none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &none &none &none &none &none &none | ||
&none &bt BT_DISC 0 &bt BT_DISC 1 &bt BT_DISC 2 &bt BT_DISC 3 &bt BT_DISC 4 &bootloader &bootloader &none &none &none &none &none &none | ||
&bt BT_SAVE &none &kp C_PP &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE &none &none &none &none &bt BT_CLR &none &none &none &none &none &none &none | ||
&out OUT_USB &none &none &kp C_PREV &kp C_NEXT &none &none &none &none &none &none &none &none &none | ||
&out OUT_BLE &none &none &none &none &none &none &none &none &bl BL_TOG &rgb_ug RGB_TOG &bl BL_INC &bl BL_DEC &none &none &none | ||
>; | ||
}; | ||
|
||
}; | ||
}; |