Skip to content

Commit

Permalink
Add language switch combos
Browse files Browse the repository at this point in the history
  • Loading branch information
proostas committed Jan 27, 2024
1 parent 01c0ad3 commit c1fa155
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,38 @@
<&macro_pause_for_release>;
)
};

combos {
compatible = "zmk,combos";
combo_rus {
timeout-ms = <50>;
key-positions = <5 6>;
layers = <ENG>;
bindings = <&to_russian>;
require-prior-idle-ms = <300>;
};
combo_eng {
timeout-ms = <50>;
key-positions = <5 6>;
layers = <RUS>;
bindings = <&to_english>;
require-prior-idle-ms = <300>;
};
combo_rus2 {
timeout-ms = <50>;
key-positions = <38 39>;
layers = <ENG>;
bindings = <&to_russian>;
require-prior-idle-ms = <300>;
};
combo_eng2 {
timeout-ms = <50>;
key-positions = <38 39>;
layers = <RUS>;
bindings = <&to_english>;
require-prior-idle-ms = <300>;
};
};

keymap {
compatible = "zmk,keymap";
Expand Down

0 comments on commit c1fa155

Please sign in to comment.