You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
665 B
42 lines
665 B
5 years ago
|
#include <dt-bindings/zmk/keys.h>
|
||
5 years ago
|
#include <keymap.h>
|
||
5 years ago
|
|
||
|
/ {
|
||
|
chosen {
|
||
|
zmk,keymap = &keymap0;
|
||
|
};
|
||
|
keymap0: keymap {
|
||
|
compatible = "zmk,keymap";
|
||
|
label ="Default keymap";
|
||
|
layers = <&default &lower &raise>;
|
||
|
};
|
||
|
|
||
|
layers {
|
||
|
compatible = "zmk,layers";
|
||
|
|
||
|
default: layer_0 {
|
||
5 years ago
|
label = "DEFAULT";
|
||
5 years ago
|
keys =
|
||
|
<
|
||
5 years ago
|
KC_A MT(MOD_LSFT, KC_B) ZC_NO ZC_NO
|
||
|
CC_RAIS CC_LOWR ZC_NO ZC_NO
|
||
5 years ago
|
>;
|
||
|
};
|
||
|
|
||
|
lower: layer_1 {
|
||
5 years ago
|
label = "LOWER";
|
||
5 years ago
|
keys = <
|
||
|
KC_MPLY KC_MNXT ZC_NO ZC_NO
|
||
|
ZC_TRNS ZC_TRNS ZC_NO ZC_NO
|
||
|
>;
|
||
5 years ago
|
};
|
||
|
|
||
|
raise: layer_2 {
|
||
5 years ago
|
label = "RAISE";
|
||
5 years ago
|
keys = <
|
||
|
KC_C KC_D ZC_NO ZC_NO
|
||
|
ZC_TRNS ZC_TRNS ZC_NO ZC_NO>;
|
||
5 years ago
|
};
|
||
|
};
|
||
|
};
|