Skip to content

Commit

Permalink
trk
Browse files Browse the repository at this point in the history
  • Loading branch information
kizanbg committed Apr 8, 2024
1 parent 2e18bf3 commit 5ae4f97
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/boards/shields/trk/trk.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ CONFIG_WS2812_STRIP=y
CONFIG_ZMK_RGB_UNDERGLOW_ON_START=y
CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=y
CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
CONFIG_ZMK_RGB_UNDERGLOW_STATUS_CAPS=y
CONFIG_ZMK_RGB_UNDERGLOW_STATUS_CAPS_N=4

# SLEEP config
CONFIG_ZMK_IDLE_TIMEOUT=30000
Expand Down
34 changes: 34 additions & 0 deletions config/trk.keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/rgb.h>

&encoder { status = "okay"; };

/ {
keymap {
compatible = "zmk,keymap";
default_layer {
bindings = <
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp KP_DIVIDE &kp KP_MULTIPLY
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH &kp HOME
&kp CLCK &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp C_MUTE &kp SEMI &kp SQT &kp RET &kp END
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &trans &kp FSLH &kp RSHFT &kp UP &kp DEL
&kp LCTL &kp LGUI &kp LALT &trans &kp SPACE &kp B &kp BSPC &trans &mo 1 &trans &trans &kp RCTRL &kp LEFT &kp DOWN &kp RIGHT
>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP>;
};

bt_layer {
bindings = <
&bootloader &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &kp KP_MINUS &kp KP_PLUS
&trans &rgb_ug RGB_BRI &rgb_ug RGB_SAI &rgb_ug RGB_HUI &rgb_ug RGB_EFF &rgb_ug RGB_TOG &rgb_ug RGB_SPI &trans &trans &trans &trans &trans &trans &trans &trans
&trans &rgb_ug RGB_BRD &rgb_ug RGB_SAD &rgb_ug RGB_HUD &rgb_ug RGB_EFR &trans &rgb_ug RGB_SPD &trans &trans &trans &trans &trans &trans &trans &trans
&trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &trans &trans &trans &trans &kp C_MUTE &kp C_VOL_DN &trans &kp C_VOL_UP &trans &trans &trans
&bt BT_CLR &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP>;
};
};
};

0 comments on commit 5ae4f97

Please sign in to comment.