zmk/config/cradio.keymap

64 lines
2.4 KiB
Plaintext
Raw Normal View History

2022-07-03 04:52:21 -07:00
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
2022-07-03 05:34:16 -07:00
#define COLEMAK 0
#define NAV 1
#define NUM 2
#define SYM 3
2022-07-03 04:52:21 -07:00
&mt {
// flavor = "tap-preferred";
// tapping_term_ms = <200>;
};
/ {
combos {
compatible = "zmk,combos";
};
2022-07-03 05:34:16 -07:00
keymap {
compatible = "zmk,keymap";
default_layer {
bindings = <
2022-07-03 05:56:33 -07:00
&kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SCLN
&kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O
&kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp CMMA &kp DOT &kp FSLH
&kp TAB &lt NAV SPC &lt NUM RET &lt SYM BSPC
>;
};
nav_layer {
bindings = <
&trans &trans &trans &trans &trans &trans &kp LBRC &kp RBRC &kp LPAR &kp RPAR
&trans &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
&trans &trans &trans &trans &trans &trans &kp LBKT &kp RBKT &trans &trans
&trans &trans &trans &trans
>;
};
num_layer {
bindings = <
&trans &trans &trans &trans &trans &trans &kp LBRC &kp RBRC &kp LPAR &kp RPAR
&trans &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
&trans &trans &trans &trans &trans &trans &kp LBKT &kp RBKT &trans &trans
&trans &trans &trans &trans
>;
};
sym_layer {
bindings = <
&trans &trans &trans &trans &trans &trans &kp LBRC &kp RBRC &kp LPAR &kp RPAR
&trans &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
&trans &trans &trans &trans &trans &trans &kp LBKT &kp RBKT &trans &trans
&trans &trans &trans &trans
2022-07-03 05:28:27 -07:00
>;
2022-07-03 05:34:16 -07:00
};
};
2022-07-03 04:52:21 -07:00
};