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.
35 lines
491 B
35 lines
491 B
#include <dt-bindings/zmk/keys.h> |
|
|
|
/ { |
|
chosen { |
|
zmk,keymap = &keymap0; |
|
}; |
|
keymap0: keymap { |
|
compatible = "zmk,keymap"; |
|
label ="Default keymap"; |
|
layers = <&default &lower &raise>; |
|
}; |
|
|
|
layers { |
|
compatible = "zmk,layers"; |
|
|
|
default: layer_0 { |
|
label = "Default"; |
|
keys = |
|
< |
|
KC_A KC_B |
|
KC_C ZC_CSTM(1) |
|
>; |
|
}; |
|
|
|
lower: layer_1 { |
|
label = "Lower"; |
|
keys = <KC_D KC_C KC_B KC_A>; |
|
}; |
|
|
|
raise: layer_2 { |
|
label = "Raise"; |
|
keys = <KC_C KC_D KC_A KC_B>; |
|
}; |
|
}; |
|
};
|
|
|