From 886fb2f68f109f2dd51b04442473e1ecd14dcff1 Mon Sep 17 00:00:00 2001 From: Eric Neiman Date: Wed, 6 Mar 2024 18:53:33 -0500 Subject: [PATCH] Left Only --- boards/shields/esplit/esplit.keymap | 6 +++++- boards/shields/esplit/esplit.overlay | 24 +++++++++++++++++++----- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/boards/shields/esplit/esplit.keymap b/boards/shields/esplit/esplit.keymap index fe89041..171f21f 100644 --- a/boards/shields/esplit/esplit.keymap +++ b/boards/shields/esplit/esplit.keymap @@ -7,7 +7,11 @@ compatible = "zmk,keymap"; default_layer { bindings = < - &kp A + &kp GRAVE &kp 1 &kp 2 &kp 3 &kp 4 &kp 5 &kp 6 + &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp F5 + &kp CAPS &kp A &kp S &kp D &kp F &kp G &kp F10 + &kp LSHIFT &kp Z &kp X &kp C &kp V &kp B &kp F12 + &kp LCTRL &kp LGUI &kp LALT &kp ESC &kp HOME &kp END &kp SPACE >; }; }; diff --git a/boards/shields/esplit/esplit.overlay b/boards/shields/esplit/esplit.overlay index f80af71..b39cdd2 100644 --- a/boards/shields/esplit/esplit.overlay +++ b/boards/shields/esplit/esplit.overlay @@ -10,18 +10,32 @@ compatible = "zmk,kscan-gpio-matrix"; diode-direction = "col2row"; - row-gpios = <&pro_micro 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; + row-gpios = <&pro_micro 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, + <&pro_micro 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, + <&pro_micro 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, + <&pro_micro 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, + <&pro_micro 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; - col-gpios = <&pro_micro 3 GPIO_ACTIVE_HIGH>; + col-gpios = <&pro_micro 21 GPIO_ACTIVE_HIGH>, + <&pro_micro 20 GPIO_ACTIVE_HIGH>, + <&pro_micro 19 GPIO_ACTIVE_HIGH>, + <&pro_micro 18 GPIO_ACTIVE_HIGH>, + <&pro_micro 15 GPIO_ACTIVE_HIGH>, + <&pro_micro 14 GPIO_ACTIVE_HIGH>, + <&pro_micro 16 GPIO_ACTIVE_HIGH>; }; default_transform: matrix_transform { compatible = "zmk,matrix-transform"; - rows = <1>; - columns = <1>; + rows = <5>; + columns = <7>; map = < - RC(0,0) + RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) + RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) + RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) + RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) + RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,5) RC(4,6) >; }; }; \ No newline at end of file