2024-10-15 17:16:35 +02:00
|
|
|
/*
|
2024-10-15 17:51:01 +02:00
|
|
|
* Copyright (c) 2024 Christina Sørensen
|
|
|
|
* SPDX-License-Identifier: EUPL-1.2
|
2024-10-15 17:16:35 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <behaviors.dtsi>
|
|
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
#include <dt-bindings/zmk/bt.h>
|
|
|
|
|
2024-10-15 18:34:23 +02:00
|
|
|
&mt {
|
|
|
|
tapping-term-ms = <150>;
|
|
|
|
quick-tap-ms = <200>;
|
|
|
|
flavor = "tap-preferred";
|
|
|
|
};
|
|
|
|
|
2024-10-15 17:16:35 +02:00
|
|
|
/ {
|
|
|
|
keymap {
|
|
|
|
compatible = "zmk,keymap";
|
|
|
|
|
|
|
|
default_layer {
|
|
|
|
bindings = <
|
2024-10-15 17:51:01 +02:00
|
|
|
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
|
|
|
|
&mt LGUI ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
|
|
|
|
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
|
|
|
|
|
|
|
|
&mt LCTRL SPC &mt RALT RET &kp EQUAL &kp MINUS &kp DEL &mt LALT BSPC
|
2024-10-15 17:16:35 +02:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
lower_layer {
|
|
|
|
bindings = <
|
|
|
|
&kp TAB &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
|
|
|
|
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
|
|
|
|
&kp LSHFT &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
|
|
|
|
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
raise_layer {
|
|
|
|
bindings = <
|
|
|
|
&kp TAB &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp BSPC
|
|
|
|
&kp LCTRL &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
|
|
|
|
&kp LSHFT &trans &trans &trans &trans &trans &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
|
|
|
|
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|