diff options
author | Cem Aksoylar <[email protected]> | 2024-09-28 15:04:47 -0700 |
---|---|---|
committer | Pete Johanson <[email protected]> | 2024-09-30 11:30:10 -0600 |
commit | 608b6458a9a158d51179b6b22b34a5a9b5d2d137 (patch) | |
tree | cf6bdee1420a655874abd9bfac9591a5a7a0fc1b /app | |
parent | 907b1caaa69b63db874767bf1728f068989d9f46 (diff) | |
download | zmk-608b6458a9a158d51179b6b22b34a5a9b5d2d137.tar.gz zmk-608b6458a9a158d51179b6b22b34a5a9b5d2d137.zip |
feat(boards): Add physical layout to Corne-ish Zen
Diffstat (limited to 'app')
-rw-r--r-- | app/boards/arm/corneish_zen/corneish_zen.dtsi | 12 | ||||
-rw-r--r-- | app/boards/arm/corneish_zen/corneish_zen.keymap | 4 |
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; }; }; |