aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/boards/arm/corneish_zen/corneish_zen.dtsi12
-rw-r--r--app/boards/arm/corneish_zen/corneish_zen.keymap4
2 files changed, 13 insertions, 3 deletions
diff --git a/app/boards/arm/corneish_zen/corneish_zen.dtsi b/app/boards/arm/corneish_zen/corneish_zen.dtsi
index dbd6f93e80..119781a29d 100644
--- a/app/boards/arm/corneish_zen/corneish_zen.dtsi
+++ b/app/boards/arm/corneish_zen/corneish_zen.dtsi
@@ -10,6 +10,16 @@
#include <dt-bindings/zmk/matrix_transform.h>
+#include <layouts/foostan/corne.dtsi>
+
+&foostan_corne_6col_layout {
+ transform = <&default_transform>;
+};
+
+&foostan_corne_5col_layout {
+ transform = <&five_column_transform>;
+};
+
/ {
model = "Corne-ish Zen";
compatible = "corneish_zen";
@@ -20,7 +30,7 @@
zephyr,flash = &flash0;
zmk,kscan = &kscan0;
zmk,display = &epd;
- zmk,matrix-transform = &default_transform;
+ zmk,physical-layout = &foostan_corne_6col_layout;
};
default_transform: keymap_transform_0 {
diff --git a/app/boards/arm/corneish_zen/corneish_zen.keymap b/app/boards/arm/corneish_zen/corneish_zen.keymap
index 8dbb7d3b9a..d53045ebc6 100644
--- a/app/boards/arm/corneish_zen/corneish_zen.keymap
+++ b/app/boards/arm/corneish_zen/corneish_zen.keymap
@@ -11,8 +11,8 @@
/ {
chosen {
- zmk,matrix-transform = &default_transform;
- // zmk,matrix-transform = &five_column_transform;
+ zmk,physical-layout = &foostan_corne_6col_layout;
+ // zmk,physical-layout = &foostan_corne_5col_layout;
};
};