Skip to content

Commit

Permalink
change combos
Browse files Browse the repository at this point in the history
  • Loading branch information
lightbluepoppy committed Dec 2, 2024
1 parent 3bd03f2 commit b280127
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 25 deletions.
2 changes: 2 additions & 0 deletions config/corne.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_ZMK_MOUSE=y
CONFIG_ZMK_DISPLAY=y
60 changes: 35 additions & 25 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,39 @@
#include "../miryoku/mapping/42/corne.h"
#include "../miryoku/miryoku.dtsi"

/ {
combos {
compatible = "zmk,combos";

NUM {
bindings = <&tog 1>;
key - positions = <30 20>;
};

NAV {
bindings = <&tog 2>;
key - positions = <30 21>;
};

MEDIA {
bindings = <&tog 3>;
key - positions = <30 22>;
};

MOUSE {
bindings = <&tog 4>;
key - positions = <30 23>;
};
};
};
// / {
// combos {
// compatible = "zmk,combos";

// NUM {
// bindings = <&tog 7>;
// key - positions = <30 1>;
// };

// NAV {
// bindings = <&tog 4>;
// key - positions = <30 2>;
// };

// MEDIA {
// bindings = <&tog 6>;
// key - positions = <30 3>;
// };

// MOUSE {
// bindings = <&tog 5>;
// key - positions = <30 21>;
// };

// FUN {
// bindings = <&tog 9>;
// key - positions = <30 22>;
// };

// SYM {
// bindings = <&tog 8>;
// key - positions = <30 23>;
// };
// };
// };

2 changes: 2 additions & 0 deletions miryoku/custom_config.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright 2021 Manna Harbour
// https://github.com/manna-harbour/miryoku

#define MIRYOKU_KLUDGE_MOUSEKEYSPR

#define MIRYOKU_LAYER_BASE \
&kp Q, &kp W, &kp E, &kp R, &kp T, &kp Y, &kp U, &kp I, &kp O, &kp P, \
&kp A, U_MT(LCTRL, S), U_MT(LALT, D), U_MT(LGUI, F), &kp G, &kp H, U_MT(RGUI, J), U_MT(RALT, K), U_MT(RCTRL, L), &kp SQT, \
Expand Down

0 comments on commit b280127

Please sign in to comment.