Skip to content

Commit

Permalink
come on
Browse files Browse the repository at this point in the history
  • Loading branch information
NikodemMarek committed Nov 29, 2023
1 parent 76270d8 commit faaff48
Showing 1 changed file with 30 additions and 7 deletions.
37 changes: 30 additions & 7 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,37 @@
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/keys.h>

#define DVORAK 0
#define QWERTY 5
#define SYMBOLS 1
#define SYMBOLS_ALT 2
#define NAVIGATION 3
#define NUMPAD 4

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

switch_to_qwerty {
bindings = <&to 5>;
key-positions = <10 14>;
require-prior-idle-ms = <2000>;
layers = <0>;
};

switch_to_dvorak {
bindings = <&to 0>;
key-positions = <14 10>;
require-prior-idle-ms = <2000>;
layers = <5>;
};

to_navigation {
bindings = <&to 3>;
key-positions = <16 17>;
require-prior-idle-ms = <500>;
};

to_numpad {
bindings = <&to 4>;
key-positions = <17 18>;
require-prior-idle-ms = <500>;
};
};

keymap {
compatible = "zmk,keymap";

Expand Down

0 comments on commit faaff48

Please sign in to comment.