Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
frnmjn committed Dec 7, 2024
1 parent 75e6ba8 commit 8d67c80
Show file tree
Hide file tree
Showing 2 changed files with 153 additions and 10 deletions.
159 changes: 151 additions & 8 deletions config/behaviors.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ asp: auto_shift_pinky {
bindings = <&kp &kp>;
};

nk: not_so_sticky_key {
compatible = "zmk,behavior-hold-tap";
label = "not so sticky key";
#binding-cells = <2>;
tapping-term-ms = <TAPPING_TERM>;
flavor = "tap-preferred";
bindings = <&kp &sk>;
};
// nk: not_so_sticky_key {
// compatible = "zmk,behavior-hold-tap";
// label = "not so sticky key";
// #binding-cells = <2>;
// tapping-term-ms = <TAPPING_TERM>;
// flavor = "tap-preferred";
// bindings = <&kp &sk>;
// };

hrm: hrm {
compatible = "zmk,behavior-hold-tap";
Expand All @@ -53,3 +53,146 @@ hrm: hrm {
bindings = <&kp &kp>;
};

// swap: swap {
// compatible = "zmk,behavior-tri-state";
// label = "SWAPPER";
// #binding-cells = <0>;
// bindings = <&kt LALT AS(TAB) &kt LALT>;
// ignored-key-positions = <LT2 LM1 LM2 LM3>;
// };

// leftmm1: leftmm1 {
// compatible = "zmk,behavior-mod-morph";
// label = "leftmm1";
// #binding-cells = <0>;
// bindings = <&leftmm2 &kp C_VOL_DN>;
// mods = <MOD_LCTL>;
// };

// leftmm2: leftmm2 {
// compatible = "zmk,behavior-mod-morph";
// label = "leftmm2";
// #binding-cells = <0>;
// bindings = <&kp LEFT &kp LG(LC(LEFT))>;
// mods = <MOD_LALT>;
// };

// rightmm1: rightmm1 {
// compatible = "zmk,behavior-mod-morph";
// label = "rightmm1";
// #binding-cells = <0>;
// bindings = <&rightmm2 &kp C_VOL_UP>;
// mods = <MOD_LCTL>;
// };

// rightmm2: rightmm2 {
// compatible = "zmk,behavior-mod-morph";
// label = "rightmm2";
// #binding-cells = <0>;
// bindings = <&kp RIGHT &kp LG(LC(RIGHT))>;
// mods = <MOD_LALT>;
// };

// upmm1: upmm1 {
// compatible = "zmk,behavior-mod-morph";
// label = "upmm1";
// #binding-cells = <0>;
// bindings = <&upmm2 &kp C_PREV>;
// mods = <MOD_RCTL>;
// };

// upmm2: upmm2 {
// compatible = "zmk,behavior-mod-morph";
// label = "upmm2";
// #binding-cells = <0>;
// // bindings = <&upmm3 &kp C_BRI_DN>;
// bindings = <&kp A &kp C_BRI_DN>;
// mods = <MOD_RALT>;
// };

// upmm3: upmm3 {
// compatible = "zmk,behavior-mod-morph";
// label = "upmm3";
// #binding-cells = <0>;
// bindings = <&kp UP &mwh SCROLL_DOWN>;
// mods = <MOD_RSFT>;
// };

// downmm1: downmm1 {
// compatible = "zmk,behavior-mod-morph";
// label = "downmm1";
// #binding-cells = <0>;
// bindings = <&downmm2 &kp C_NEXT>;
// mods = <MOD_RCTL>;
// };

// downmm2: downmm2 {
// compatible = "zmk,behavior-mod-morph";
// label = "downmm2";
// #binding-cells = <0>;
// // bindings = <&downmm3 &kp C_BRI_UP>;
// bindings = <&kp A &kp C_BRI_UP>;
// mods = <MOD_RALT>;
// };

// downmm3: downmm3 {
// compatible = "zmk,behavior-mod-morph";
// label = "downmm3";
// #binding-cells = <0>;
// bindings = <&kp DOWN &mwh SCROLL_UP>;
// mods = <MOD_RSFT>;
// };

// bspcdel: bspcdel {
// compatible = "zmk,behavior-mod-morph";
// label = "bspcdel";
// #binding-cells = <0>;
// bindings = <&lt NUM BSPC &lt NUM DELETE>;
// mods = <(MOD_LSFT|MOD_RSFT)>;
// };

// spcmin: spcmin {
// compatible = "zmk,behavior-mod-morph";
// label = "navspcmin";
// #binding-cells = <0>;
// bindings = <&lt NAV SPC &lt NAV MINUS>;
// mods = <(MOD_LSFT|MOD_RSFT)>;
// };

// enc: enc {
// compatible = "zmk,behavior-sensor-rotate";
// label = "ENCODER";
// #sensor-binding-cells = <0>;
// bindings = <&rightmm1>, <&leftmm1>;
// };

// enc2: enc2 {
// compatible = "zmk,behavior-sensor-rotate";
// label = "ENCODER2";
// #sensor-binding-cells = <0>;
// bindings = <&downmm1>, <&upmm1>;
// };

// none_enc: none_enc {
// compatible = "zmk,behavior-sensor-rotate";
// label = "NONE_ENCODER";
// #sensor-binding-cells = <0>;
// bindings = <&none>, <&none>;
// };

// ldturbo: ldturbo {
// compatible = "zmk,behavior-turbo-key";
// label = "ldturbo";
// #binding-cells = <0>;
// wait-ms = <300000>;
// bindings = <&keep_awake>;
// toggle-term-ms = <TAPPING_TERM>;
// };

// leaders: leaders {
// compatible = "zmk,behavior-tap-dance";
// label = "leaders";
// #binding-cells = <0>;
// tapping-term-ms = <QUICK_TAP_TERM>;
// bindings = <&leader &leader2 &leader3>;
// };
4 changes: 2 additions & 2 deletions config/west.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
manifest:
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
url-base: https://github.com/nickconway
projects:
- name: zmk
remote: zmkfirmware
revision: main
revision: dev
import: app/west.yml
self:
path: config

0 comments on commit 8d67c80

Please sign in to comment.