Skip to content

Commit

Permalink
esplit1
Browse files Browse the repository at this point in the history
  • Loading branch information
EricNeiman committed Mar 5, 2024
1 parent a7ba0e6 commit 10415a9
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 79 deletions.
6 changes: 6 additions & 0 deletions boards/shields/esplit/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
if SHIELD_ESPLIT

config ZMK_Keyboard_NAME
default "esplit"

endif
2 changes: 2 additions & 0 deletions boards/shields/esplit/Kconfig.shield
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
config SHIELD_ESPLIT
def_bool$(shields_list_contains, esplit)
28 changes: 28 additions & 0 deletions boards/shields/esplit/esplit.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#include <dt-bindings/zmk/matrix_transform.h>

/ {
chosen {
zmk,kscan = &default_kscan;
zmk_matrix_transform = &default_transform;
};

default_kscan: kscan {
compatible = "zmk,kscan-gpio-matrix";
label = "default_kscan";
diode-direction = "col2row";

row-gpios = <pro_micro 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;

col-gpios = <pro_micro 3 GPIO_ACTIVE_HIGH>;
};

default_transform: matrix_transform {
compatible = "zmk,matrix-transform";
rows = <1>;
cols = <1>;

map = <
RC(0,0)
>;
};
};
6 changes: 3 additions & 3 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
---
include:
- board: nice_nano_v2
shield: lily58_left
- board: nice_nano_v2
shield: lily58_right
shield: esplit
# - board: nice_nano_v2
# shield: esplit_right
6 changes: 0 additions & 6 deletions config/lily58.conf

This file was deleted.

70 changes: 0 additions & 70 deletions config/lily58.keymap

This file was deleted.

0 comments on commit 10415a9

Please sign in to comment.