/* * 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 < ARROWS 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 >; }; 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 &mt LCTRL SPC &mt RALT RET &kp EQUAL &kp MINUS &kp DEL &mt LALT BSPC >; }; }; };