Skip to content

Commit

Permalink
Revert to &inc_dec_kp behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
trankillity committed May 22, 2024
1 parent d1176d0 commit 94aed37
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions config/ffkb_v3.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@
};

behaviors {
rot_kp: sensor_rotate_kp {
compatible = "zmk,behavior-sensor-rotate-var";
#sensor-binding-cells = <2>;
bindings = <&kp>, <&kp>;
};
skq: sticky_key_quick_release {
compatible = "zmk,behavior-sticky-key";
#binding-cells = <1>;
Expand Down Expand Up @@ -122,7 +117,7 @@
compatible = "zmk,keymap";

default_layer {
sensor-bindings = <&rot_kp PG_DN PG_UP &rot_kp C_VOL_UP C_VOL_DN>;
sensor-bindings = <&inc_dec_kp PG_DN PG_UP &inc_dec_kp C_VOL_UP C_VOL_DN>;

bindings = <
&kp ESC &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SQT &kp BSLH
Expand All @@ -133,7 +128,7 @@
};

navi_layer {
sensor-bindings = <&rot_kp LC(RIGHT) LC(LEFT) &rot_kp C_VOL_UP C_VOL_DN>;
sensor-bindings = <&inc_dec_kp LC(RIGHT) LC(LEFT) &inc_dec_kp C_VOL_UP C_VOL_DN>;

bindings = <
&trans &kp INS &kp HOME &kp UP &kp END &kp PG_UP &kp K_APP &swap_next &swap_prev &kp C_BRI_UP &kp C_BRI_DN &none
Expand All @@ -144,7 +139,7 @@
};

numb_layer {
sensor-bindings = <&rot_kp PG_UP PG_DN &rot_kp LC(DOWN) LC(UP)>;
sensor-bindings = <&inc_dec_kp PG_UP PG_DN &inc_dec_kp LC(DOWN) LC(UP)>;

bindings = <
&kp F6 &kp F5 &kp F4 &kp F3 &kp F2 &kp F1 &kp EQUAL &kp N7 &kp N8 &kp N9 &kp DOT &kp COMMA
Expand All @@ -155,7 +150,7 @@
};

func_layer {
sensor-bindings = <&rot_kp LG(RIGHT) LG(LEFT) &rot_kp LG(LA(RIGHT)) LG(LA(LEFT))>;
sensor-bindings = <&inc_dec_kp LG(RIGHT) LG(LEFT) &inc_dec_kp LG(LA(RIGHT)) LG(LA(LEFT))>;

bindings = <
&none &none &none &none &none &out OUT_BLE &out OUT_USB &none &none &none &none &none
Expand Down

0 comments on commit 94aed37

Please sign in to comment.