diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..2e1a7ea --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,17 @@ +{ + "configurations": [ + { + "name": "Mac", + "includePath": [ + "${workspaceFolder}/**" + ], + "defines": [], + "macFrameworkPath": [], + "compilerPath": "/opt/homebrew/bin/arm-none-eabi-gcc", + "cStandard": "gnu17", + "cppStandard": "gnu++14", + "intelliSenseMode": "macos-gcc-arm" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/config/corne.keymap b/config/corne.keymap index e57b24f..2e6cfd3 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -8,6 +8,11 @@ #include #include +#define DEFAULT 0 +#define LOWER 1 +#define RAISE 2 +#define ADJUST 3 + / { keymap { compatible = "zmk,keymap"; @@ -35,7 +40,7 @@ &kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC &trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans &kp LSHFT &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_CLR - &kp LGUI &trans &kp RET &kp SPACE &trans &kp RALT + &kp LGUI &trans &kp RET &kp SPACE &mo 3 &kp RALT >; }; @@ -43,14 +48,28 @@ // ----------------------------------------------------------------------------------------- // | ESC | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BKSP | // | MUTE |VOLDN|VOLUP| PREV| NEXT| PLAY| | - | = | { | } | \ | ` | -// | CAPS | | | | BRID| BRIU| | _ | + | [ | ] | "|" | ~ | +// | SHFT | | | | BRID| BRIU| | _ | + | [ | ] | "|" | ~ | // | GUI | | ENT | | SPC | | ALT | bindings = < &kp ESC &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp KP_MULTIPLY &kp LPAR &kp RPAR &kp BSPC &kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP &kp C_PREV &kp C_NEXT &kp C_PP &kp MINUS &kp EQUAL &kp LBRC &kp RBRC &kp BSLH &kp GRAVE - &kp CAPS &trans &trans &trans &kp C_BRI_DN &kp C_BRI_UP &kp UNDER &kp PLUS &kp LBKT &kp RBKT &kp PIPE &kp TILDE - &kp LGUI &trans &kp RET &kp SPACE &trans &kp RALT + &kp LSHIFT &trans &trans &trans &kp C_BRI_DN &kp C_BRI_UP &kp UNDER &kp PLUS &kp LBKT &kp RBKT &kp PIPE &kp TILDE + &kp LGUI &mo 3 &kp RET &kp SPACE &trans &kp RALT + >; + }; + adjust_layer { +// ----------------------------------------------------------------------------------------- +// | ESC | | | | | | | | | | | | BKSP | +// | BTCLR| BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | | +// | CAPS | | | | | | | | | | | | | +// | GUI | | ENT | | SPC | | ALT | + bindings = < + &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans + & CAPS &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + &trans &trans &trans &trans &trans &trans >; }; }; + }; };