From a39e1ff6b9df76d6391e0a26cad00a1e78fec959 Mon Sep 17 00:00:00 2001 From: Stephen Onnen Date: Tue, 12 Nov 2024 11:12:50 -0600 Subject: [PATCH] update overlay --- .../shields/hotdog_pad/hotdog_pad-layouts.dtsi | 17 +++++++++-------- boards/shields/hotdog_pad/hotdog_pad.keymap | 9 +++++++++ boards/shields/hotdog_pad/hotdog_pad.overlay | 1 + 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/boards/shields/hotdog_pad/hotdog_pad-layouts.dtsi b/boards/shields/hotdog_pad/hotdog_pad-layouts.dtsi index 572deec..7614697 100644 --- a/boards/shields/hotdog_pad/hotdog_pad-layouts.dtsi +++ b/boards/shields/hotdog_pad/hotdog_pad-layouts.dtsi @@ -1,15 +1,16 @@ #include / { -physical_layout0: - physical_layout_0 { +physical_layout0: physical_layout_0 { compatible = "zmk,physical-layout"; - display - name = "Hotdog Pad"; + display-name = "Default"; - keys = <&key_physical_attrs 100 100 0 0 0 0 0>, - <&key_physical_attrs 100 100 100 0 0 0 0>, - <&key_physical_attrs 100 100 200 0 0 0 0>, - <&key_physical_attrs 100 100 300 0 0 0 0>, - <&key_physical_attrs 100 100 400 0 0 0 0>; + keys + = <&key_physical_attrs 100 100 0 0 0 0 0> + , <&key_physical_attrs 100 100 100 0 0 0 0> + , <&key_physical_attrs 100 100 200 0 0 0 0> + , <&key_physical_attrs 100 100 300 0 0 0 0> + , <&key_physical_attrs 100 100 400 0 0 0 0> + ; }; }; diff --git a/boards/shields/hotdog_pad/hotdog_pad.keymap b/boards/shields/hotdog_pad/hotdog_pad.keymap index 919bccc..a9eaeec 100644 --- a/boards/shields/hotdog_pad/hotdog_pad.keymap +++ b/boards/shields/hotdog_pad/hotdog_pad.keymap @@ -6,6 +6,7 @@ compatible = "zmk,keymap"; base { + display-name = "Base"; bindings = < &kp N1 &kp N2 @@ -16,5 +17,13 @@ sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>; }; + + extra1 { + status = "reserved"; + }; + + extra2 { + status = "reserved"; + }; }; }; diff --git a/boards/shields/hotdog_pad/hotdog_pad.overlay b/boards/shields/hotdog_pad/hotdog_pad.overlay index 62e39a1..7b66c3a 100644 --- a/boards/shields/hotdog_pad/hotdog_pad.overlay +++ b/boards/shields/hotdog_pad/hotdog_pad.overlay @@ -7,6 +7,7 @@ / { chosen { zmk,kscan = &kscan0; + zmk,physical-layout = &physical_layout0; }; kscan0: kscan_0 {