1
0
mirror of https://github.com/tcaxle/zmk-config.git synced 2024-11-23 07:41:58 +00:00

Compare commits

...

11 Commits

Author SHA1 Message Date
keymap-editor[bot]
8b06af7c5e
tap dance shift caps 2024-02-27 13:32:57 +00:00
keymap-editor[bot]
eb810dcc25
Sticky shift 2024-02-27 13:27:55 +00:00
keymap-editor[bot]
c0e0aba09e
Changed mod keys 2024-02-27 11:25:51 +00:00
keymap-editor[bot]
153b2d4a49
encoder fix 2024-02-27 11:04:20 +00:00
keymap-editor[bot]
e6a42040da
Encoder changes 2024-02-27 10:57:58 +00:00
keymap-editor[bot]
dbf7acc12d
Changed space and mod buttons 2024-02-27 10:35:44 +00:00
keymap-editor[bot]
10ee645a5d
Removed mouse buttons 2024-02-27 10:03:08 +00:00
keymap-editor[bot]
acc1716ef5
Fix BSLH - NUBS 2024-02-27 10:00:40 +00:00
keymap-editor[bot]
94430f6eb5
??? 2024-02-27 09:57:59 +00:00
keymap-editor[bot]
48a3fdeca2
fix? 2024-02-27 09:54:19 +00:00
keymap-editor[bot]
371ba69fab
No more ARTSEY - tap dance mirrors :)) 2024-02-27 09:51:08 +00:00

View File

@ -6,7 +6,6 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/keys.h>
#define BASE 0
#define LOWER 1
@ -41,320 +40,44 @@
conditional_layers { compatible = "zmk,conditional-layers"; };
behaviors {
mirror_mod: mirror_mod {
mtd: mtd {
compatible = "zmk,behavior-tap-dance";
label = "MIRROR_MOD";
label = "Mod-Tap-Dance";
#binding-cells = <0>;
bindings = <&mo 6>, <&mo 1>, <&mo 7>;
bindings = <&mo 1>, <&mo 3>;
};
shift_caps_l: shift_caps_l {
compatible = "zmk,behavior-tap-dance";
label = "SHIFT_CAPS_L";
#binding-cells = <0>;
bindings = <&sk LSHFT>, <&kp CAPS>;
};
shift_caps_r: shift_caps_r {
compatible = "zmk,behavior-tap-dance";
label = "SHIFT_CAPS_R";
#binding-cells = <0>;
bindings = <&sk RSHFT>, <&kp CAPS>;
};
};
combos {
compatible = "zmk,combos";
artsey {
bindings = <&tog 9>;
key-positions = <50 51 52>;
layers = <0 9>;
};
qwerty {
bindings = <&tog 3>;
bindings = <&tog 4>;
key-positions = <57 58 59>;
};
conf {
bindings = <&sl 2>;
key-positions = <53 56>;
};
ARTSEY_LM {
bindings = <&kp M>;
key-positions = <25 26 27>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LN {
bindings = <&kp N>;
key-positions = <25 26>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LP {
bindings = <&kp P>;
key-positions = <25 26 28>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LQ {
bindings = <&kp Q>;
key-positions = <13 14 16>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LU {
bindings = <&kp U>;
key-positions = <26 27>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LV {
bindings = <&kp V>;
key-positions = <13 15>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LW {
bindings = <&kp W>;
key-positions = <13 16>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LX {
bindings = <&kp X>;
key-positions = <13 14 15>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LZ {
bindings = <&kp Z>;
key-positions = <13 14 15 16>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LB {
bindings = <&kp B>;
key-positions = <25 28>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LC {
bindings = <&kp C>;
key-positions = <27 28>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LD {
bindings = <&kp D>;
key-positions = <15 14 16>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LF {
bindings = <&kp F>;
key-positions = <15 16>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LG {
bindings = <&kp G>;
key-positions = <14 15>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LH {
bindings = <&kp H>;
key-positions = <28 26>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LJ {
bindings = <&kp J>;
key-positions = <13 14>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LK {
bindings = <&kp K>;
key-positions = <25 27>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LL {
bindings = <&kp L>;
key-positions = <27 28 26>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LESC {
bindings = <&kp ESCAPE>;
key-positions = <25 15 16>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LTAB {
bindings = <&kp TAB>;
key-positions = <25 14 15 16>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LCTRL {
bindings = <&sk LCTRL>;
key-positions = <13 28>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LGUI {
bindings = <&sk LEFT_GUI>;
key-positions = <13 27>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LALT {
bindings = <&sk LEFT_ALT>;
key-positions = <13 26>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LSHIFT {
bindings = <&sk LEFT_SHIFT>;
key-positions = <13 14 15 28>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LSHIFTLOCK {
bindings = <&kt LEFT_SHIFT>;
key-positions = <15 27>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LCAPSLOCK {
bindings = <&kp CAPS>;
key-positions = <27 26 25 16>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LENTER {
L_ENTER {
bindings = <&kp ENTER>;
key-positions = <16 28>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LQUOTE {
bindings = <&kp SINGLE_QUOTE>;
key-positions = <16 27 26>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LSTOP {
bindings = <&kp PERIOD>;
key-positions = <16 27>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LCOMMA {
bindings = <&kp COMMA>;
key-positions = <16 26>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LSLASH {
bindings = <&kp SLASH>;
key-positions = <16 25>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LEXCLAMATION {
bindings = <&kp EXCLAMATION>;
key-positions = <14 26>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LSPACE {
bindings = <&kp SPACE>;
key-positions = <25 26 28 27>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LBACKSPACE {
bindings = <&kp BACKSPACE>;
key-positions = <28 15>;
layers = <9>;
timeout-ms = <175>;
};
ARTSEY_LDEL {
bindings = <&kp DELETE>;
key-positions = <15 26>;
layers = <9>;
timeout-ms = <175>;
};
LARTSEY_L8 {
bindings = <&kp KP_NUMBER_8>;
key-positions = <14 15>;
layers = <11>;
timeout-ms = <175>;
};
ARTSEY_L7 {
bindings = <&kp KP_N7>;
key-positions = <15 16>;
layers = <11>;
timeout-ms = <175>;
};
ARTSEY_L0 {
bindings = <&kp KP_NUMBER_0>;
key-positions = <26 27>;
layers = <11>;
timeout-ms = <175>;
};
ARTSEY_L9 {
bindings = <&kp KP_NUMBER_9>;
key-positions = <27 28>;
layers = <11>;
timeout-ms = <175>;
};
ARTSEY_LNAV {
bindings = <&tog 10>;
key-positions = <26 28 15>;
layers = <9 10>;
timeout-ms = <175>;
};
};
macros {
double_vol_up: double_vol_up {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&key_repeat>;
label = "DOUBLE_VOL_UP";
R_SPACE {
bindings = <&kp SPACE>;
key-positions = <20 21>;
};
};
@ -362,7 +85,7 @@
compatible = "zmk,keymap";
base {
label = "Base";
label = "Base";
// ------------------------------------------------------------------------------------------------------------
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
@ -372,20 +95,42 @@
// | GUI | ALT | CTRL | LOWER| ENTER | | SPACE | RAISE| CTRL | ALT | GUI |
bindings = <
&kp ESCAPE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
&kp TAB &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SEMI &kp GRAVE
&kp BSPC &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O &kp SINGLE_QUOTE
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &tog 4 &kp C_MUTE &kp K &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&kp LCTRL &kp LEFT_WIN &kp LALT &mo 1 &kp SPACE &kp ENTER &mo 1 &kp RALT &kp RIGHT_WIN &kp RIGHT_CONTROL
&kp ESCAPE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
&kp TAB &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SEMI &kp GRAVE
&kp BSPC &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O &kp SINGLE_QUOTE
&shift_caps_l &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp C_PLAY_PAUSE &kp K &kp M &kp COMMA &kp DOT &kp FSLH &shift_caps_r
&kp LCTRL &kp LEFT_WIN &kp LALT &mtd &lt 2 SPACE &lt 2 ENTER &mtd &kp RALT &kp RIGHT_WIN &kp RIGHT_CONTROL
>;
sensor-bindings =
<&inc_dec_kp UP_ARROW DOWN>,
<&inc_dec_kp C_VOL_UP C_VOL_DN>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOLUME_UP>;
};
mod {
label = "Mod";
mirrored {
bindings = <
&kp MINUS &kp N0 &kp N9 &kp N8 &kp N7 &kp N6 &kp N5 &kp N4 &kp N3 &kp N2 &kp N1 &kp ESC
&kp GRAVE &kp SEMI &kp Y &kp U &kp L &kp J &kp G &kp P &kp F &kp W &kp Q &kp TAB
&kp SQT &kp O &kp I &kp E &kp N &kp H &kp D &kp T &kp S &kp R &kp A &kp BSPC
&shift_caps_r &kp FSLH &kp DOT &kp COMMA &kp M &kp K &kp C_PLAY_PAUSE &kp C_MUTE &kp B &kp V &kp C &kp X &kp Z &shift_caps_l
&kp RCTRL &kp RGUI &kp RALT &trans &trans &trans &trans &kp LALT &kp LGUI &kp LCTRL
>;
label = "Mirrored";
};
mod_a {
bindings = <
&kp EQUAL &kp LBKT &kp RBKT &trans &trans &trans &kp F10 &kp F11 &kp F12 &trans &trans &trans
&kp NON_US_HASH &none &none &none &none &none &mt F7 KP_NUMBER_7 &mt F8 KP_NUMBER_8 &mt F9 KP_NUMBER_9 &kp KP_ASTERISK &kp KP_DIVIDE &kp KP_NUMLOCK
&kp DELETE &kp INS &kp PG_UP &kp UP &kp PAGE_DOWN &kp HOME &mt F4 KP_NUMBER_4 &mt F5 KP_NUMBER_5 &mt F6 KP_NUMBER_6 &kp KP_PLUS &kp KP_MINUS &kp DEL
&trans &kp NUBS &kp LEFT &kp DOWN &kp RIGHT &kp END &trans &trans &mt F1 KP_NUMBER_1 &mt F2 KP_NUMBER_2 &mt F3 KP_NUMBER_3 &kp KP_DOT &kp KP_EQUAL &trans
&trans &trans &trans &trans &trans &trans &trans &kp KP_NUMBER_0 &trans &trans
>;
label = "Mod A";
};
mod_b {
label = "Mod B";
// TODO: Some binds are waiting for shifted keycode support.
// ------------------------------------------------------------------------------------------------------------
@ -396,29 +141,11 @@
// | | | | | | | | | | | |
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp EQUAL
&kp KP_NUMLOCK &kp KP_DIVIDE &kp KP_MULTIPLY &kp KP_N7 &kp KP_N8 &kp KP_NUMBER_9 &trans &trans &trans &trans &trans &trans
&kp DELETE &kp KP_SUBTRACT &kp KP_PLUS &kp KP_N4 &kp KP_N5 &kp KP_NUMBER_6 &kp HOME &kp PG_UP &kp UP &kp PG_DN &kp INS &kp NUHS
&trans &kp KP_EQUAL &kp KP_DOT &kp KP_N1 &kp KP_N2 &kp KP_NUMBER_3 &trans &trans &kp END &kp LEFT &kp DOWN &kp RIGHT &kp NUBS &trans
&trans &trans &kp KP_N0 &trans &kp ENTER &kp SPACE &trans &trans &trans &trans
>;
};
conf {
// ----------------------------------------------------------------------------------------------------------------------------
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
// | EXTPWR | RGB_HUD | RGB_HUI | RGB_SAD | RGB_SAI | RGB_EFF | | | | | | | |
// | | RGB_BRD | RGB_BRI | | | | | | | | | | |
// | | | | | | | RGB_TOG | | | | | | | | |
// | | | | | | | | | | | |
label = "Conf";
bindings = <
&trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11
&trans &trans &trans &trans &trans &trans &none &none &none &none &none &kp F12
&none &trans &trans &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &trans &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
&trans &trans &trans &kp F10 &kp F11 &kp F12 &trans &trans &trans &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp EQUAL
&kp KP_NUMLOCK &kp KP_DIVIDE &kp KP_MULTIPLY &mt F7 KP_NUMBER_7 &mt F8 KP_NUMBER_8 &mt F9 KP_NUMBER_9 &none &none &none &none &none &kp NON_US_HASH
&kp DELETE &kp KP_SUBTRACT &kp KP_PLUS &mt F4 KP_NUMBER_4 &mt F5 KP_NUMBER_5 &mt F6 KP_NUMBER_6 &kp PG_UP &kp HOME &kp UP &kp END &kp INS &kp DELETE
&trans &kp KP_EQUAL &kp KP_DOT &mt F1 KP_NUMBER_1 &mt F2 KP_NUMBER_2 &mt F3 KP_NUMBER_3 &trans &trans &kp PAGE_DOWN &kp LEFT &kp DOWN &kp RIGHT &kp NUBS &trans
&trans &trans &kp KP_N0 &trans &trans &trans &trans &trans &trans &trans
>;
};
@ -433,126 +160,5 @@
label = "QWERTY";
};
left-encoder-alt {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
sensor-bindings = <&inc_dec_kp LEFT_ARROW RIGHT_ARROW>;
label = "Base ⬌";
};
mirror_mod {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &mirror_mod &trans &trans &mirror_mod &trans &trans &trans
>;
label = "Base Unmirrored";
};
base_mirrored {
bindings = <
&kp MINUS &kp N0 &kp N9 &kp N8 &kp N7 &kp N6 &kp N5 &kp N4 &kp N3 &kp N2 &kp N1 &kp ESC
&kp GRAVE &kp SEMI &kp Y &kp U &kp L &kp J &kp G &kp P &kp F &kp W &kp Q &kp TAB
&kp SQT &kp O &kp I &kp E &kp N &kp H &kp D &kp T &kp S &kp R &kp A &kp BSPC
&kp RSHFT &kp FSLH &kp DOT &kp COMMA &kp M &kp K &kp BSPC &kp V &kp B &kp V &kp C &kp X &kp Z &kp LSHFT
&kp RCTRL &kp RGUI &kp RALT &trans &kp RET &kp SPACE &trans &kp LALT &kp LGUI &kp LCTRL
>;
label = "Base Mirrored";
};
mod_mirrored {
bindings = <
&kp EQUAL &kp LBKT &kp RBKT &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &kp KP_NUMBER_7 &kp KP_NUMBER_8 &kp KP_NUMBER_9 &kp KP_ASTERISK &kp KP_DIVIDE &kp KP_NUMLOCK
&kp POUND &kp INS &kp PG_UP &kp UP &kp PAGE_DOWN &kp HOME &kp KP_NUMBER_4 &kp KP_NUMBER_5 &kp KP_NUMBER_6 &kp KP_PLUS &kp KP_MINUS &kp DEL
&trans &kp BSLH &kp LEFT &kp DOWN &kp RIGHT &kp END &trans &trans &kp N1 &kp N2 &kp N3 &kp KP_DOT &kp KP_EQUAL &trans
&trans &trans &trans &trans &kp SPACE &kp RET &trans &kp KP_NUMBER_0 &trans &trans
>;
label = "Mod Mirrored";
};
macro {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
label = "Macro";
};
ARTSEY {
bindings = <
&none &none &none &none &none &none &none &none &none &none &none &none
&none &lt 11 S &kp T &kp R &lt 12 A &none &none &none &none &none &none &none
&none &lt 14 O &kp I &kp Y &lt 13 E &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
>;
};
ARTSEY_NAV {
bindings = <
&none &none &none &none &none &none &none &none &none &none &none &none
&none &kp PG_UP &kp HOME &kp UP &kp END &none &none &none &none &none &none &none
&none &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
>;
};
ARTSEY_NUM {
bindings = <
&none &none &none &none &none &none &none &none &none &none &none &none
&none &trans &kp KP_NUMBER_3 &kp KP_NUMBER_2 &kp KP_NUMBER_1 &none &none &none &none &none &none &none
&none &none &kp KP_NUMBER_6 &kp KP_NUMBER_5 &kp KP_NUMBER_4 &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
>;
};
ARTSEY_BRACKETS {
bindings = <
&none &none &none &none &none &none &none &none &none &none &none &none
&none &kp RIGHT_BRACE &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &trans &none &none &none &none &none &none &none
&none &kp LEFT_BRACE &kp LEFT_BRACKET &kp RIGHT_BRACKET &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
>;
};
ARTSEY_PUNCTUATION {
bindings = <
&none &none &none &none &none &none &none &none &none &none &none &none
&none &kp GRAVE &kp SEMI &kp BACKSLASH &kp EXCL &none &none &none &none &none &none &none
&none &kp EQUAL &kp MINUS &kp QUESTION &trans &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
>;
};
ARTSEY_CUSTOM {
bindings = <
&none &none &none &none &none &none &none &none &none &none &none &none
&none &none &kp C_VOLUME_UP &kp INSERT &kp K_MUTE &none &none &none &none &none &none &none
&none &trans &kp C_VOL_DN &kp PRINTSCREEN &kp RSHIFT &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
>;
};
};
};