Skip to content

Commit

Permalink
Bringing in a bunch of the old combos.
Browse files Browse the repository at this point in the history
  • Loading branch information
amacleod committed Dec 9, 2024
1 parent 1408f27 commit 9054075
Showing 1 changed file with 89 additions and 4 deletions.
93 changes: 89 additions & 4 deletions config/hummingbird.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
#include <dt-bindings/zmk/keys.h>

#define DEFAULT 0
#define HD_GOLD 0
#define SYM 1
#define NAV 2
#define NUM 3
#define KEEBCTL 4

#include "glam-multigraph.dtsi"

/ {
keymap {
compatible = "zmk,keymap";
Expand All @@ -16,11 +19,11 @@ keymap {
// ,-----------------------. ,-----------------------.
// ,-----+ G | M | P | V | | / # | . : | ' ! | " ? +-----.
// | R | S | N | D | B | | , ; | A | E | I | H |
// | X | F | L | C +-----'-----. ,-----`-----+ U | O | Y | K |
// | X | F | L | C +-----'-----. ,-----`-----+ U | O | Y | W |
// `-----------------------| SYM | T | |Sh/Sp| NAV |-----------------------'
bindings = <
&kp R &kp G &kp M &kp P &kp V &slash_hash &dot_cln &sqt_bang &dqt_ques &kp H
&kp X &kp S &kp N &kp D &kp B &com_semi &kp A &kp E &kp I &kp K
&kp X &kp S &kp N &kp D &kp B &com_semi &kp A &kp E &kp I &kp W
&kp F &kp L &kp C &kp U &kp O &kp Y
&mo SYM &kp T &mt RSHIFT SPACE &mo NAV
>;
Expand Down Expand Up @@ -70,12 +73,12 @@ keymap {
};
keyboard_control_layer {
// ,-----------------------. ,-----------------------.
// ,-----+ | | | | | | | | +-----.
// ,-----+ | | | DFU | | | | | +-----.
// | | | | | | | | | | | |
// | | | | +-----'-----. ,-----`-----+ | | | |
// `-----------------------| | | | | |-----------------------'
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &bootloader &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
Expand Down Expand Up @@ -117,6 +120,88 @@ behaviors {
mods = <(MOD_LSFT|MOD_RSFT)>;
};
}; // end behaviors

// 1 2 3 4 5 6 7 8
// 0 11 12 13 14 15 16 17 18 9
// 10 20 21 22 23 24 25 19
// 26 27 28 29
combos {
compatible = "zmk,combos";

// All four thumb keys for keyboard control layer.
combo_thumbs_keyboard_control {
timeout-ms = <50>;
key-positions = <26 27 28 29>;
bindings = <&tog KEEBCTL>;
};
// Vertical combo left pinky for Z.
combo_left_pinky_zed {
timeout-ms = <50>;
key-positions = <0 10>;
bindings = <&kp Z>;
layers = <HD_GOLD>;
};
// Vertical combo right pinky for K.
combo_right_pinky_kay {
timeout-ms = <50>;
key-positions = <9 19>;
bindings = <&kp K>;
layers = <HD_GOLD>;
};
// Combo U and Y to produce Qu in Hands Down
combo_uy_qu {
timeout-ms = <50>;
key-positions = <23 25>;
bindings = <&squ>;
layers = <HD_GOLD>;
};
// Combo U, O, and Y to produce bare Q in Hands Down.
combo_uoy_q {
timeout-ms = <50>;
key-positions = <23 24 25>;
bindings = <&kp Q>;
layers = <HD_GOLD>;
};
// Combos for H digraphs in Hands Down.
combo_sn_sh {
timeout-ms = <50>;
key-positions = <11 12>;
bindings = <&sdh S>;
layers = <HD_GOLD>;
};
combo_sd_ch {
timeout-ms = <50>;
key-positions = <11 13>;
bindings = <&sdh C>;
layers = <HD_GOLD>;
};
combo_nd_th {
timeout-ms = <50>;
key-positions = <12 13>;
bindings = <&sdh T>;
layers = <HD_GOLD>;
};
// This one makes less sense in Hands Down Gold, but I might just be used to it from Hands Down Neu.
combo_gp_wh {
timeout-ms = <50>;
key-positions = <1 3>;
bindings = <&sdh W>;
layers = <HD_GOLD>;
};
combo_pm_ph {
timeout-ms = <50>;
key-positions = <2 3>;
bindings = <&sdh P>;
layers = <HD_GOLD>;
};
combo_gm_gh {
timeout-ms = <50>;
key-positions = <1 2>;
bindings = <&sdh G>;
layers = <HD_GOLD>;
};

}; // end combos
};

// ,-----------------------. ,-----------------------.
Expand Down

0 comments on commit 9054075

Please sign in to comment.