2020-10-22 14:17:31 +11: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>
|
|
|
|
|
|
|
|
#define DEFAULT 0
|
|
|
|
#define FUNC 1
|
|
|
|
|
|
|
|
/ {
|
|
|
|
keymap {
|
|
|
|
compatible = "zmk,keymap";
|
2020-11-19 11:46:59 +11:00
|
|
|
|
2020-10-22 14:17:31 +11:00
|
|
|
default_layer {
|
|
|
|
bindings = <
|
2020-11-19 11:46:59 +11:00
|
|
|
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp BSPC &kp HOME
|
|
|
|
&kp C_VOL_UP &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH &kp DEL
|
|
|
|
&kp C_VOL_DN &kp CLCK &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &kp RET &kp PG_UP
|
|
|
|
&trans &kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT &kp UP &kp PG_DN
|
|
|
|
&trans &kp LCTRL &kp LGUI &kp LALT &kp SPACE &mo FUNC &kp RALT &kp RCTRL &kp LEFT &kp DOWN &kp RIGHT
|
2020-10-22 14:17:31 +11:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
func {
|
|
|
|
bindings = <
|
2020-11-19 11:46:59 +11:00
|
|
|
&kp TILDE &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &trans &kp END
|
|
|
|
&bt BT_CLR &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &bootloader
|
|
|
|
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
2020-10-22 14:17:31 +11:00
|
|
|
&bt BT_PRV &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
2020-11-19 11:46:59 +11:00
|
|
|
&bt BT_NXT &trans &trans &trans &trans &trans &trans &trans &kp C_PREV &kp C_PP &kp C_NEXT
|
2020-10-22 14:17:31 +11:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|