Skip to content

Commit

Permalink
feat: Add reviung41 physical layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Sep 30, 2024
1 parent af83601 commit f1985ec
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/boards/shields/reviung41/reviung41.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@

#include <dt-bindings/zmk/matrix_transform.h>

#include <layouts/gtips/reviung41.dtsi>

&gtips_reviung41_layout {
transform = <&default_transform>;
};

/ {
chosen {
zmk,kscan = &kscan0;
zmk,matrix-transform = &default_transform;
zmk,physical-layout = &gtips_reviung41_layout;
};

default_transform: keymap_transform_0 {
Expand Down
55 changes: 55 additions & 0 deletions app/dts/layouts/gtips/reviung41.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#include <physical_layouts.dtsi>

/ {
gtips_reviung41_layout: gtips_reviung41_layout {
compatible = "zmk,physical-layout";
display-name = "reviung41";

keys
= <&key_physical_attrs 100 100 000 53 700 400 338>
, <&key_physical_attrs 100 100 100 53 700 400 338>
, <&key_physical_attrs 100 100 200 28 700 400 338>
, <&key_physical_attrs 100 100 300 03 700 400 338>
, <&key_physical_attrs 100 100 400 28 700 400 338>
, <&key_physical_attrs 100 100 500 38 700 400 338>
, <&key_physical_attrs 100 100 700 38 (-700) 900 338>
, <&key_physical_attrs 100 100 800 28 (-700) 900 338>
, <&key_physical_attrs 100 100 900 03 (-700) 900 338>
, <&key_physical_attrs 100 100 1000 28 (-700) 900 338>
, <&key_physical_attrs 100 100 1100 53 (-700) 900 338>
, <&key_physical_attrs 100 100 1200 53 (-700) 900 338>

, <&key_physical_attrs 100 100 000 153 700 400 338>
, <&key_physical_attrs 100 100 100 153 700 400 338>
, <&key_physical_attrs 100 100 200 128 700 400 338>
, <&key_physical_attrs 100 100 300 103 700 400 338>
, <&key_physical_attrs 100 100 400 128 700 400 338>
, <&key_physical_attrs 100 100 500 138 700 400 338>
, <&key_physical_attrs 100 100 700 138 (-700) 900 338>
, <&key_physical_attrs 100 100 800 128 (-700) 900 338>
, <&key_physical_attrs 100 100 900 103 (-700) 900 338>
, <&key_physical_attrs 100 100 1000 128 (-700) 900 338>
, <&key_physical_attrs 100 100 1100 153 (-700) 900 338>
, <&key_physical_attrs 100 100 1200 153 (-700) 900 338>

, <&key_physical_attrs 100 100 000 253 700 400 338>
, <&key_physical_attrs 100 100 100 253 700 400 338>
, <&key_physical_attrs 100 100 200 228 700 400 338>
, <&key_physical_attrs 100 100 300 203 700 400 338>
, <&key_physical_attrs 100 100 400 228 700 400 338>
, <&key_physical_attrs 100 100 500 238 700 400 338>
, <&key_physical_attrs 100 100 700 238 (-700) 900 338>
, <&key_physical_attrs 100 100 800 228 (-700) 900 338>
, <&key_physical_attrs 100 100 900 203 (-700) 900 338>
, <&key_physical_attrs 100 100 1000 228 (-700) 900 338>
, <&key_physical_attrs 100 100 1100 253 (-700) 900 338>
, <&key_physical_attrs 100 100 1200 253 (-700) 900 338>

, <&key_physical_attrs 100 100 339 338 0 0 0>
, <&key_physical_attrs 100 100 450 365 700 500 415>
, <&key_physical_attrs 200 100 555 394 0 0 0>
, <&key_physical_attrs 100 100 760 365 (-700) 710 415>
, <&key_physical_attrs 100 100 871 338 0 0 0>
;
};
};

0 comments on commit f1985ec

Please sign in to comment.