/* * Copyright (c) 2024 Christina Sørensen * SPDX-License-Identifier: EUPL-1.2 */ #include #include #include #define DEFAULT 0 #define NUMBERS 1 #define ARROWS 2 &mt { tapping-term-ms = <150>; quick-tap-ms = <200>; flavor = "tap-preferred"; }; / { keymap { compatible = "zmk,keymap"; default_layer { bindings = < &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 &mt LCTRL SPC &mt RALT RET &kp EQUAL < NUMBERS MINUS &kp DEL &mt LALT BSPC >; }; 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 &mt LCTRL SPC &mt RALT RET &kp EQUAL &kp MINUS &kp DEL &mt LALT BSPC >; }; }; };