2020-05-17 07:30:30 +10:00
|
|
|
#include <dt-bindings/zmk/keys.h>
|
2020-05-19 03:42:41 +10:00
|
|
|
#include <keymap.h>
|
2020-05-17 07:30:30 +10:00
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
zmk,keymap = &keymap0;
|
|
|
|
};
|
|
|
|
keymap0: keymap {
|
|
|
|
compatible = "zmk,keymap";
|
|
|
|
label ="Default keymap";
|
|
|
|
layers = <&default &lower &raise>;
|
|
|
|
};
|
|
|
|
|
|
|
|
layers {
|
|
|
|
compatible = "zmk,layers";
|
|
|
|
|
|
|
|
default: layer_0 {
|
2020-05-19 03:42:41 +10:00
|
|
|
label = "DEFAULT";
|
2020-05-17 07:30:30 +10:00
|
|
|
keys =
|
|
|
|
<
|
2020-05-23 12:47:03 +10:00
|
|
|
KC_A MT(MOD_LSFT, KC_B)
|
2020-05-19 03:42:41 +10:00
|
|
|
CC_RAIS CC_LOWR
|
2020-05-17 07:30:30 +10:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
lower: layer_1 {
|
2020-05-19 03:42:41 +10:00
|
|
|
label = "LOWER";
|
|
|
|
keys = <KC_D KC_C ZC_TRNS ZC_TRNS>;
|
2020-05-17 07:30:30 +10:00
|
|
|
};
|
|
|
|
|
|
|
|
raise: layer_2 {
|
2020-05-19 03:42:41 +10:00
|
|
|
label = "RAISE";
|
|
|
|
keys = <KC_C KC_D ZC_TRNS ZC_TRNS>;
|
2020-05-17 07:30:30 +10:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|