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 19:33:03 +02:00
|
|
|
#define DEFAULT 0
|
|
|
|
#define NUMBERS 1
|
2024-10-15 19:48:25 +02:00
|
|
|
#define ARROWS 2
|
2024-10-15 19:33:03 +02:00
|
|
|
|
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
|
|
|
/ {
|
2024-10-15 19:33:03 +02:00
|
|
|
keymap {
|
|
|
|
compatible = "zmk,keymap";
|
|
|
|
default_layer {
|
|
|
|
bindings = <
|
2024-10-15 19:48:25 +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 BACKSLASH
|
|
|
|
&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
|
|
|
|
&mt LSHIFT LPAR &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mt RSHIFT RPAR
|
2024-10-15 17:16:35 +02:00
|
|
|
|
2024-10-15 19:55:39 +02:00
|
|
|
&mt LCTRL SPC &mt RALT RET < ARROWS EQUAL < NUMBERS MINUS &kp DEL &mt LALT BSPC
|
2024-10-15 19:33:03 +02:00
|
|
|
>;
|
|
|
|
};
|
2024-10-15 17:51:01 +02:00
|
|
|
|
2024-10-15 19:33:03 +02:00
|
|
|
NUMBERS {
|
|
|
|
bindings = <
|
|
|
|
&kp GRAVE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp PIPE
|
|
|
|
&kp LEFT_BRACE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp RIGHT_BRACE
|
|
|
|
&kp LEFT_BRACKET &trans &trans &trans &trans &trans &kp UNDERSCORE &kp PLUS &kp COMMA &kp DOT &kp PIPE &kp RIGHT_BRACKET
|
|
|
|
|
2024-10-15 19:55:39 +02:00
|
|
|
&mt LCTRL SPC &mt RALT RET &kp EQUAL &kp MINUS &kp DEL &mt LALT BSPC
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
ARROWS {
|
|
|
|
bindings = <
|
|
|
|
&kp F11 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F12
|
|
|
|
&kp LEFT_BRACE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
|
|
|
|
&kp LEFT_BRACKET &trans &trans &trans &trans &trans &kp UNDERSCORE &kp PLUS &kp COMMA &trans &trans &trans
|
|
|
|
|
2024-10-15 19:37:16 +02:00
|
|
|
&mt LCTRL SPC &mt RALT RET &kp EQUAL &kp MINUS &kp DEL &mt LALT BSPC
|
2024-10-15 19:33:03 +02:00
|
|
|
>;
|
|
|
|
};
|
2024-10-15 19:48:25 +02:00
|
|
|
};
|
2024-10-15 17:16:35 +02:00
|
|
|
};
|