Skip to content

Commit

Permalink
Updated keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
VoltaicGRiD committed Aug 2, 2024
1 parent 998d7ce commit ff25ca4
Showing 1 changed file with 28 additions and 8 deletions.
36 changes: 28 additions & 8 deletions boards/shields/voltarium/voltarium.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
#include <dt-bindings/zmk/outputs.h>

#define DEFAULT 0
#define NUM 1
#define BT 2
#define QWERTY 1
#define NUM 2
#define BT 3

/ {
combos {
Expand Down Expand Up @@ -37,6 +38,13 @@
bindings = <&kp PG_DN>, <&kp PG_UP>;
};

scroll_encoder: scroll_encoder {
compatible = "zmk,behavior-sensor-rotate";
#sensor-binding-cells = <0>;
bindings = <&msc SCRL_UP>, <&msc SCRL_DOWN>;
tap-ms = <50>;
};

bspc_del: backspace_delete {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
Expand Down Expand Up @@ -81,32 +89,44 @@
&tab_num &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SEMI &kp MINUS
&mt LCTRL ESC &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O &kp APOS
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp COMMA &kp PERIOD &kp FSLH &mt RALT RETURN
&mo BT &kp LALT &none &bspc_del &kp LGUI &brace_tap &paren_tap &kp RGUI &kp SPACE &kp RIGHT_PARENTHESIS &none &kp RGUI
&mo BT &kp LALT &none &bspc_del &kp LGUI &brace_tap &paren_tap &tog QWERTY &kp SPACE &kp RIGHT_PARENTHESIS &none &kp RGUI
&kp K_PLAY_PAUSE &kp K_MUTE
>;
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
sensor-bindings = <&scroll_encoder>, <&rot_pg_ud_kp>;
};

numbers {
qwerty_layer {
bindings = <
&tab_num &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp MINUS
&mt LCTRL ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp APOS
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp PERIOD &kp FSLH &mt RALT RETURN
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans
>;
sensor-bindings = <&scroll_encoder>, <&rot_pg_ud_kp>;
};

numbers_layer {
bindings = <
&kp N0 &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp MINUS &kp PLUS
&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
&trans &trans
>;
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
sensor-bindings = <&scroll_encoder>, <&rot_pg_ud_kp>;

};

bluetooth {
bluetooth_layer {
bindings = <
&bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &trans &trans &trans &trans &trans &trans &trans &bt BT_CLR_ALL
&bt BT_CLR &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 &trans
>;
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp LC(Y) LC(Z)>;
sensor-bindings = <&scroll_encoder>, <&rot_pg_ud_kp>;
};
};
};

0 comments on commit ff25ca4

Please sign in to comment.