diff --git a/app/boards/shields/a_dux/a_dux.keymap b/app/boards/shields/a_dux/a_dux.keymap index 0f162a33..acbdb7a4 100644 --- a/app/boards/shields/a_dux/a_dux.keymap +++ b/app/boards/shields/a_dux/a_dux.keymap @@ -5,7 +5,7 @@ */ #include -#include +#include / { diff --git a/app/boards/shields/bat43/bat43.keymap b/app/boards/shields/bat43/bat43.keymap index 0f7e2d55..d971fe7f 100644 --- a/app/boards/shields/bat43/bat43.keymap +++ b/app/boards/shields/bat43/bat43.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include #define LOWER 1 #define RAISE 2 diff --git a/app/boards/shields/bfo9000/bfo9000.keymap b/app/boards/shields/bfo9000/bfo9000.keymap index 18a2085c..ff14b042 100644 --- a/app/boards/shields/bfo9000/bfo9000.keymap +++ b/app/boards/shields/bfo9000/bfo9000.keymap @@ -5,11 +5,7 @@ */ #include -#include -#include -#include -#include -#include +#include #define DEFAULT 0 #define LOWER 1 diff --git a/app/boards/shields/boardsource3x4/boardsource3x4.keymap b/app/boards/shields/boardsource3x4/boardsource3x4.keymap index c47126ab..b1bb651d 100644 --- a/app/boards/shields/boardsource3x4/boardsource3x4.keymap +++ b/app/boards/shields/boardsource3x4/boardsource3x4.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/boardsource5x12/boardsource5x12.keymap b/app/boards/shields/boardsource5x12/boardsource5x12.keymap index cb851c35..b04f2f79 100644 --- a/app/boards/shields/boardsource5x12/boardsource5x12.keymap +++ b/app/boards/shields/boardsource5x12/boardsource5x12.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { diff --git a/app/boards/shields/chalice/chalice.keymap b/app/boards/shields/chalice/chalice.keymap index c72e3ee1..ab37e981 100644 --- a/app/boards/shields/chalice/chalice.keymap +++ b/app/boards/shields/chalice/chalice.keymap @@ -5,10 +5,7 @@ */ #include -#include -#include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/clog/clog.keymap b/app/boards/shields/clog/clog.keymap index d00b00c9..1591f973 100644 --- a/app/boards/shields/clog/clog.keymap +++ b/app/boards/shields/clog/clog.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include #define MAIN 0 #define SYM 1 diff --git a/app/boards/shields/clueboard_california/clueboard_california.keymap b/app/boards/shields/clueboard_california/clueboard_california.keymap index 9af22fa1..cca4e2ec 100644 --- a/app/boards/shields/clueboard_california/clueboard_california.keymap +++ b/app/boards/shields/clueboard_california/clueboard_california.keymap @@ -5,7 +5,7 @@ */ #include -#include +#include / { keymap0: keymap { diff --git a/app/boards/shields/contra/contra.keymap b/app/boards/shields/contra/contra.keymap index 77b431b6..efa8dbeb 100644 --- a/app/boards/shields/contra/contra.keymap +++ b/app/boards/shields/contra/contra.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include #define DEFAULT 0 #define NUM_MODS 1 diff --git a/app/boards/shields/corne/corne.keymap b/app/boards/shields/corne/corne.keymap index 01350bd5..5aa255b1 100644 --- a/app/boards/shields/corne/corne.keymap +++ b/app/boards/shields/corne/corne.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/cradio/cradio.keymap b/app/boards/shields/cradio/cradio.keymap index ab4591ba..61a67bb5 100644 --- a/app/boards/shields/cradio/cradio.keymap +++ b/app/boards/shields/cradio/cradio.keymap @@ -2,8 +2,7 @@ // SPDX-License-Identifier: MIT #include -#include -#include +#include // Home row mods macro #define HRML(k1,k2,k3,k4) &ht LSHFT k1 &ht LALT k2 &ht LCTRL k3 &ht LGUI k4 diff --git a/app/boards/shields/crbn/crbn.keymap b/app/boards/shields/crbn/crbn.keymap index f963ba84..d0b9560c 100644 --- a/app/boards/shields/crbn/crbn.keymap +++ b/app/boards/shields/crbn/crbn.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/eek/eek.keymap b/app/boards/shields/eek/eek.keymap index 74ecc407..e7ef6cd7 100644 --- a/app/boards/shields/eek/eek.keymap +++ b/app/boards/shields/eek/eek.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/elephant42/elephant42.keymap b/app/boards/shields/elephant42/elephant42.keymap index 62484728..2e598bb1 100644 --- a/app/boards/shields/elephant42/elephant42.keymap +++ b/app/boards/shields/elephant42/elephant42.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include #define LOWR 1 #define RAIS 2 diff --git a/app/boards/shields/ergodash/ergodash.keymap b/app/boards/shields/ergodash/ergodash.keymap index e384e504..f3e035f0 100644 --- a/app/boards/shields/ergodash/ergodash.keymap +++ b/app/boards/shields/ergodash/ergodash.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include #define DEFAULT 0 #define LOWER 1 diff --git a/app/boards/shields/eternal_keypad/eternal_keypad.keymap b/app/boards/shields/eternal_keypad/eternal_keypad.keymap index 40ac97df..adf6195b 100644 --- a/app/boards/shields/eternal_keypad/eternal_keypad.keymap +++ b/app/boards/shields/eternal_keypad/eternal_keypad.keymap @@ -5,10 +5,7 @@ */ #include -#include -#include -#include -#include +#include #define BASE 0 #define ARROW 1 diff --git a/app/boards/shields/eternal_keypad/eternal_keypad_lefty.keymap b/app/boards/shields/eternal_keypad/eternal_keypad_lefty.keymap index 4dec0bc8..4519f94e 100644 --- a/app/boards/shields/eternal_keypad/eternal_keypad_lefty.keymap +++ b/app/boards/shields/eternal_keypad/eternal_keypad_lefty.keymap @@ -5,10 +5,7 @@ */ #include -#include -#include -#include -#include +#include #define BASE 0 #define ARROW 1 diff --git a/app/boards/shields/fourier/fourier.keymap b/app/boards/shields/fourier/fourier.keymap index f0912bf1..d0680090 100644 --- a/app/boards/shields/fourier/fourier.keymap +++ b/app/boards/shields/fourier/fourier.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/helix/helix.keymap b/app/boards/shields/helix/helix.keymap index 80678fe6..fff43ec1 100644 --- a/app/boards/shields/helix/helix.keymap +++ b/app/boards/shields/helix/helix.keymap @@ -5,11 +5,7 @@ */ #include - #include - #include - #include - #include - #include + #include #define DEFAULT 0 #define LOWER 1 diff --git a/app/boards/shields/hummingbird/hummingbird.keymap b/app/boards/shields/hummingbird/hummingbird.keymap index c96071f6..6b83636d 100644 --- a/app/boards/shields/hummingbird/hummingbird.keymap +++ b/app/boards/shields/hummingbird/hummingbird.keymap @@ -5,7 +5,7 @@ */ #include -#include +#include #define DEF_L 0 #define NAV_L 1 diff --git a/app/boards/shields/iris/iris.keymap b/app/boards/shields/iris/iris.keymap index 1846509f..91f65f15 100644 --- a/app/boards/shields/iris/iris.keymap +++ b/app/boards/shields/iris/iris.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/jian/jian.keymap b/app/boards/shields/jian/jian.keymap index bfd2918c..85096725 100644 --- a/app/boards/shields/jian/jian.keymap +++ b/app/boards/shields/jian/jian.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include #define DEF 0 #define LWR 1 diff --git a/app/boards/shields/jiran/jiran.keymap b/app/boards/shields/jiran/jiran.keymap index 6dcd733c..36b0569c 100644 --- a/app/boards/shields/jiran/jiran.keymap +++ b/app/boards/shields/jiran/jiran.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/jorne/jorne.keymap b/app/boards/shields/jorne/jorne.keymap index 2a109fe8..fe768933 100644 --- a/app/boards/shields/jorne/jorne.keymap +++ b/app/boards/shields/jorne/jorne.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include #define DEF 0 #define LWR 1 diff --git a/app/boards/shields/knob_goblin/knob_goblin.keymap b/app/boards/shields/knob_goblin/knob_goblin.keymap index 8e4a7e66..27f8c631 100644 --- a/app/boards/shields/knob_goblin/knob_goblin.keymap +++ b/app/boards/shields/knob_goblin/knob_goblin.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/kyria/kyria.keymap b/app/boards/shields/kyria/kyria.keymap index a11c1325..bef37853 100644 --- a/app/boards/shields/kyria/kyria.keymap +++ b/app/boards/shields/kyria/kyria.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/kyria/kyria_rev2.keymap b/app/boards/shields/kyria/kyria_rev2.keymap index a11c1325..bef37853 100644 --- a/app/boards/shields/kyria/kyria_rev2.keymap +++ b/app/boards/shields/kyria/kyria_rev2.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/kyria/kyria_rev3.keymap b/app/boards/shields/kyria/kyria_rev3.keymap index ac2fc044..3180e0da 100644 --- a/app/boards/shields/kyria/kyria_rev3.keymap +++ b/app/boards/shields/kyria/kyria_rev3.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include /* Uncomment this block if using RGB &led_strip { diff --git a/app/boards/shields/leeloo/leeloo.keymap b/app/boards/shields/leeloo/leeloo.keymap index 91e4f333..13e43ee1 100644 --- a/app/boards/shields/leeloo/leeloo.keymap +++ b/app/boards/shields/leeloo/leeloo.keymap @@ -4,9 +4,7 @@ */ #include -#include -#include -#include +#include /* * Assign the cs-gpios pin to 4. diff --git a/app/boards/shields/leeloo/leeloo_rev2.keymap b/app/boards/shields/leeloo/leeloo_rev2.keymap index a2eda050..ddda43f3 100644 --- a/app/boards/shields/leeloo/leeloo_rev2.keymap +++ b/app/boards/shields/leeloo/leeloo_rev2.keymap @@ -4,10 +4,7 @@ */ #include -#include -#include -#include -#include +#include // Short versions #define RGBON &rgb_ug RGB_ON diff --git a/app/boards/shields/leeloo_micro/leeloo_micro.keymap b/app/boards/shields/leeloo_micro/leeloo_micro.keymap index 2317015c..474933af 100644 --- a/app/boards/shields/leeloo_micro/leeloo_micro.keymap +++ b/app/boards/shields/leeloo_micro/leeloo_micro.keymap @@ -4,10 +4,7 @@ */ #include -#include -#include -#include -#include +#include // Layers #define QW_M 0 // Main diff --git a/app/boards/shields/lily58/lily58.keymap b/app/boards/shields/lily58/lily58.keymap index 75a2e8ae..0f33b033 100644 --- a/app/boards/shields/lily58/lily58.keymap +++ b/app/boards/shields/lily58/lily58.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/lotus58/lotus58.keymap b/app/boards/shields/lotus58/lotus58.keymap index e9846e81..38caf686 100644 --- a/app/boards/shields/lotus58/lotus58.keymap +++ b/app/boards/shields/lotus58/lotus58.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { combos { diff --git a/app/boards/shields/m60/m60.keymap b/app/boards/shields/m60/m60.keymap index 8daa6b7c..ba8c886f 100644 --- a/app/boards/shields/m60/m60.keymap +++ b/app/boards/shields/m60/m60.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap0: keymap { diff --git a/app/boards/shields/microdox/microdox.keymap b/app/boards/shields/microdox/microdox.keymap index 34b2984b..587e0a0a 100644 --- a/app/boards/shields/microdox/microdox.keymap +++ b/app/boards/shields/microdox/microdox.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/murphpad/murphpad.keymap b/app/boards/shields/murphpad/murphpad.keymap index fefafb00..25f02a71 100644 --- a/app/boards/shields/murphpad/murphpad.keymap +++ b/app/boards/shields/murphpad/murphpad.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include #define TIMEOUT 300 diff --git a/app/boards/shields/naked60/naked60.keymap b/app/boards/shields/naked60/naked60.keymap index 1c212cd4..b84e3db0 100644 --- a/app/boards/shields/naked60/naked60.keymap +++ b/app/boards/shields/naked60/naked60.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { diff --git a/app/boards/shields/nibble/nibble.keymap b/app/boards/shields/nibble/nibble.keymap index f1b7512e..65b910e8 100644 --- a/app/boards/shields/nibble/nibble.keymap +++ b/app/boards/shields/nibble/nibble.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { sensors: sensors { diff --git a/app/boards/shields/osprette/osprette.keymap b/app/boards/shields/osprette/osprette.keymap index 77e62fa0..494e1244 100644 --- a/app/boards/shields/osprette/osprette.keymap +++ b/app/boards/shields/osprette/osprette.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include #define MAIN 0 #define SYM 1 diff --git a/app/boards/shields/pancake/pancake.keymap b/app/boards/shields/pancake/pancake.keymap index e5ca4372..ee274431 100644 --- a/app/boards/shields/pancake/pancake.keymap +++ b/app/boards/shields/pancake/pancake.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include #define DEF 0 #define LWR 1 diff --git a/app/boards/shields/qaz/qaz.keymap b/app/boards/shields/qaz/qaz.keymap index c887fb03..5a94219c 100644 --- a/app/boards/shields/qaz/qaz.keymap +++ b/app/boards/shields/qaz/qaz.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include #define DEFAULT 0 #define NUM_SYM 1 diff --git a/app/boards/shields/quefrency/quefrency.keymap b/app/boards/shields/quefrency/quefrency.keymap index 7d519ad4..7f090631 100644 --- a/app/boards/shields/quefrency/quefrency.keymap +++ b/app/boards/shields/quefrency/quefrency.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/redox/redox.keymap b/app/boards/shields/redox/redox.keymap index c88f703b..8a49fa74 100644 --- a/app/boards/shields/redox/redox.keymap +++ b/app/boards/shields/redox/redox.keymap @@ -5,10 +5,7 @@ */ #include -#include -#include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/reviung34/reviung34.keymap b/app/boards/shields/reviung34/reviung34.keymap index f7820d35..5ce1dbfb 100644 --- a/app/boards/shields/reviung34/reviung34.keymap +++ b/app/boards/shields/reviung34/reviung34.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { chosen { diff --git a/app/boards/shields/reviung41/reviung41.keymap b/app/boards/shields/reviung41/reviung41.keymap index 12f15ad4..47f3181c 100644 --- a/app/boards/shields/reviung41/reviung41.keymap +++ b/app/boards/shields/reviung41/reviung41.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/reviung5/reviung5.keymap b/app/boards/shields/reviung5/reviung5.keymap index 31c89cbc..57133322 100644 --- a/app/boards/shields/reviung5/reviung5.keymap +++ b/app/boards/shields/reviung5/reviung5.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include #define BASE 0 #define BLE 1 diff --git a/app/boards/shields/reviung53/reviung53.keymap b/app/boards/shields/reviung53/reviung53.keymap index d00ca6b9..b1b2a8ea 100644 --- a/app/boards/shields/reviung53/reviung53.keymap +++ b/app/boards/shields/reviung53/reviung53.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { conditional_layers { diff --git a/app/boards/shields/romac/romac.keymap b/app/boards/shields/romac/romac.keymap index e48368a8..2a98cb83 100644 --- a/app/boards/shields/romac/romac.keymap +++ b/app/boards/shields/romac/romac.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/romac_plus/romac_plus.keymap b/app/boards/shields/romac_plus/romac_plus.keymap index 039f6eb6..6eaf7920 100644 --- a/app/boards/shields/romac_plus/romac_plus.keymap +++ b/app/boards/shields/romac_plus/romac_plus.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/settings_reset/settings_reset.keymap b/app/boards/shields/settings_reset/settings_reset.keymap index 1206ef1e..b30bd963 100644 --- a/app/boards/shields/settings_reset/settings_reset.keymap +++ b/app/boards/shields/settings_reset/settings_reset.keymap @@ -5,7 +5,7 @@ */ #include -#include +#include / { keymap { diff --git a/app/boards/shields/snap/snap.keymap b/app/boards/shields/snap/snap.keymap index b5c6396a..db4afa0f 100644 --- a/app/boards/shields/snap/snap.keymap +++ b/app/boards/shields/snap/snap.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { sensors: sensors { diff --git a/app/boards/shields/sofle/sofle.keymap b/app/boards/shields/sofle/sofle.keymap index c9db56ce..656fe7f3 100644 --- a/app/boards/shields/sofle/sofle.keymap +++ b/app/boards/shields/sofle/sofle.keymap @@ -5,10 +5,7 @@ */ #include -#include -#include -#include -#include +#include #define BASE 0 #define LOWER 1 diff --git a/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne.keymap b/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne.keymap index 01350bd5..5aa255b1 100644 --- a/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne.keymap +++ b/app/boards/shields/splitkb_aurora_corne/splitkb_aurora_corne.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix.keymap b/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix.keymap index edec8fec..89786d9c 100644 --- a/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix.keymap +++ b/app/boards/shields/splitkb_aurora_helix/splitkb_aurora_helix.keymap @@ -5,11 +5,7 @@ */ #include -#include -#include -#include -#include -#include +#include #define DEFAULT 0 #define LOWER 1 diff --git a/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58.keymap b/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58.keymap index b8a9103b..d40d499e 100644 --- a/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58.keymap +++ b/app/boards/shields/splitkb_aurora_lily58/splitkb_aurora_lily58.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle.keymap b/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle.keymap index 23127416..13d61935 100644 --- a/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle.keymap +++ b/app/boards/shields/splitkb_aurora_sofle/splitkb_aurora_sofle.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include /* Uncomment this block if using RGB &led_strip { diff --git a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep.keymap b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep.keymap index 9198a557..b167c2cc 100644 --- a/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep.keymap +++ b/app/boards/shields/splitkb_aurora_sweep/splitkb_aurora_sweep.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include &mt { diff --git a/app/boards/shields/splitreus62/splitreus62.keymap b/app/boards/shields/splitreus62/splitreus62.keymap index c7bdb443..0c6f368b 100644 --- a/app/boards/shields/splitreus62/splitreus62.keymap +++ b/app/boards/shields/splitreus62/splitreus62.keymap @@ -6,7 +6,7 @@ #include -#include +#include / { keymap { diff --git a/app/boards/shields/tg4x/tg4x.keymap b/app/boards/shields/tg4x/tg4x.keymap index 5c71ae5c..fb6e293c 100644 --- a/app/boards/shields/tg4x/tg4x.keymap +++ b/app/boards/shields/tg4x/tg4x.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { behaviors { diff --git a/app/boards/shields/tidbit/tidbit.keymap b/app/boards/shields/tidbit/tidbit.keymap index f212bfe3..2bc17608 100644 --- a/app/boards/shields/tidbit/tidbit.keymap +++ b/app/boards/shields/tidbit/tidbit.keymap @@ -5,9 +5,7 @@ */ #include -#include -#include -#include +#include &encoder_1_top_row { status = "okay"; diff --git a/app/boards/shields/tidbit/tidbit_19key.keymap b/app/boards/shields/tidbit/tidbit_19key.keymap index a2991a3f..14ff2144 100644 --- a/app/boards/shields/tidbit/tidbit_19key.keymap +++ b/app/boards/shields/tidbit/tidbit_19key.keymap @@ -6,9 +6,7 @@ #include "tidbit.dtsi" #include -#include -#include -#include +#include &encoder_4 { status = "okay"; diff --git a/app/boards/shields/two_percent_milk/two_percent_milk.keymap b/app/boards/shields/two_percent_milk/two_percent_milk.keymap index 132793b3..bd012dd7 100644 --- a/app/boards/shields/two_percent_milk/two_percent_milk.keymap +++ b/app/boards/shields/two_percent_milk/two_percent_milk.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/waterfowl/waterfowl.keymap b/app/boards/shields/waterfowl/waterfowl.keymap index 197a34fa..f806a2bd 100644 --- a/app/boards/shields/waterfowl/waterfowl.keymap +++ b/app/boards/shields/waterfowl/waterfowl.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/app/boards/shields/zmk_uno/zmk_uno.keymap b/app/boards/shields/zmk_uno/zmk_uno.keymap index 186cdb60..48087cb3 100644 --- a/app/boards/shields/zmk_uno/zmk_uno.keymap +++ b/app/boards/shields/zmk_uno/zmk_uno.keymap @@ -5,11 +5,7 @@ */ #include -#include -#include -#include -#include -#include +#include // Uncomment the following lines if using the "Direct Wire" jumper to switch the matrix to a direct wire. diff --git a/app/boards/shields/zmk_uno/zmk_uno_split.keymap b/app/boards/shields/zmk_uno/zmk_uno_split.keymap index d2daa6ea..0e8b123d 100644 --- a/app/boards/shields/zmk_uno/zmk_uno_split.keymap +++ b/app/boards/shields/zmk_uno/zmk_uno_split.keymap @@ -5,12 +5,7 @@ */ #include -#include -#include -#include -#include -#include -#include +#include // Uncomment the following lines if using the "Direct Wire" jumper to switch the matrix to a direct wire. diff --git a/app/boards/shields/zodiark/zodiark.keymap b/app/boards/shields/zodiark/zodiark.keymap index 82639edc..92214491 100644 --- a/app/boards/shields/zodiark/zodiark.keymap +++ b/app/boards/shields/zodiark/zodiark.keymap @@ -5,8 +5,7 @@ */ #include -#include -#include +#include / { keymap { diff --git a/docs/docs/keymaps/behaviors/backlight.md b/docs/docs/keymaps/behaviors/backlight.md index 2f2d2802..451ba3e9 100644 --- a/docs/docs/keymaps/behaviors/backlight.md +++ b/docs/docs/keymaps/behaviors/backlight.md @@ -9,21 +9,6 @@ This page contains [backlight](../../features/backlight.mdx) behaviors supported ## Backlight Action Defines -:::info -No longer required as long as your keymap includes [`dt-bindings/zmk/params.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/all.h). -::: - -Backlight actions defines are provided through the [`dt-bindings/zmk/backlight.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/backlight.h) header, -which is added at the top of the keymap file: - -```dts -#include -``` - -This will allow you to reference the actions defined in this header such as `BL_TOG`. - -Here is a table describing the action for each define: - | Define | Action | | ---------- | --------------------------- | | `BL_ON` | Turn on backlight | diff --git a/docs/docs/keymaps/behaviors/bluetooth.md b/docs/docs/keymaps/behaviors/bluetooth.md index 7f872e78..2e101847 100644 --- a/docs/docs/keymaps/behaviors/bluetooth.md +++ b/docs/docs/keymaps/behaviors/bluetooth.md @@ -27,21 +27,6 @@ even if OUT_USB is selected. To remain disconnected, another bluetooth profile m ## Bluetooth Command Defines -:::info -No longer required as long as your keymap includes [`dt-bindings/zmk/params.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/all.h). -::: - -Bluetooth command defines are provided through the [`dt-bindings/zmk/bt.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/bt.h) header, -which is added at the top of the keymap file: - -```dts -#include -``` - -This will allow you to reference the actions defined in this header such as `BT_CLR`. - -Here is a table describing the command for each define: - | Define | Action | | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `BT_CLR` | Clear bond information between the keyboard and host for the selected profile. | diff --git a/docs/docs/keymaps/behaviors/key-press.md b/docs/docs/keymaps/behaviors/key-press.md index 93c4e1fc..f69ddc2b 100644 --- a/docs/docs/keymaps/behaviors/key-press.md +++ b/docs/docs/keymaps/behaviors/key-press.md @@ -24,7 +24,7 @@ For advanced users, user-defined HID usages are also supported but must be encod ## Keycode Defines To make it easier to encode the HID keycode numeric values, most keymaps include -the [`dt-bindings/zmk/params.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/all.h) header +the [`dt-bindings/zmk/params.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/params.h) header provided by ZMK near the top: ```dts diff --git a/docs/docs/keymaps/behaviors/mouse-emulation.md b/docs/docs/keymaps/behaviors/mouse-emulation.md index 43fc3e24..adfabd38 100644 --- a/docs/docs/keymaps/behaviors/mouse-emulation.md +++ b/docs/docs/keymaps/behaviors/mouse-emulation.md @@ -25,20 +25,6 @@ CONFIG_ZMK_MOUSE=y If you use the mouse key press behavior in your keymap, the feature will automatically be enabled for you. -## Mouse Button Defines - -:::info -No longer required as long as your keymap includes [`dt-bindings/zmk/params.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/all.h). -::: - -To make it easier to encode the HID mouse button numeric values, include -the [`dt-bindings/zmk/mouse.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/mouse.h) header -provided by ZMK near the top: - -``` -#include -``` - ## Mouse Button Press This behavior can press/release up to 5 mouse buttons. diff --git a/docs/docs/keymaps/behaviors/outputs.md b/docs/docs/keymaps/behaviors/outputs.md index 6df50411..04c02cde 100644 --- a/docs/docs/keymaps/behaviors/outputs.md +++ b/docs/docs/keymaps/behaviors/outputs.md @@ -20,19 +20,6 @@ to select the BLE output through below behavior to be able to send keystrokes to ## Output Command Defines -:::info -No longer required as long as your keymap includes [`dt-bindings/zmk/params.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/all.h). -::: - -Output command defines are provided through the [`dt-bindings/zmk/outputs.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/outputs.h) -header, which is added at the top of the keymap file: - -```dts -#include -``` - -This allows you to reference the actions defined in this header: - | Define | Action | | --------- | ----------------------------------------------- | | `OUT_USB` | Prefer sending to USB | diff --git a/docs/docs/keymaps/behaviors/power.md b/docs/docs/keymaps/behaviors/power.md index fe1e44f5..a351a881 100644 --- a/docs/docs/keymaps/behaviors/power.md +++ b/docs/docs/keymaps/behaviors/power.md @@ -21,21 +21,6 @@ The following boards currently support this feature: ## External Power Control Command Defines -:::info -No longer required as long as your keymap includes [`dt-bindings/zmk/params.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/all.h). -::: - -External power control command defines are provided through the [`dt-bindings/zmk/ext_power.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/ext_power.h) header, -which is added at the top of the keymap file: - -```dts -#include -``` - -This will allow you to reference the actions defined in this header such as `EXT_POWER_OFF_CMD`. - -Here is a table describing the command for each define: - | Define | Action | Alias | | ---------------------- | --------------------------- | -------- | | `EXT_POWER_OFF_CMD` | Disable the external power. | `EP_OFF` | diff --git a/docs/docs/keymaps/behaviors/underglow.md b/docs/docs/keymaps/behaviors/underglow.md index f20b6455..3739adce 100644 --- a/docs/docs/keymaps/behaviors/underglow.md +++ b/docs/docs/keymaps/behaviors/underglow.md @@ -9,21 +9,6 @@ This page contains [RGB Underglow](../../features/underglow.md) behaviors suppor ## RGB Action Defines -:::info -No longer required as long as your keymap includes [`dt-bindings/zmk/params.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/all.h). -::: - -RGB actions defines are provided through the [`dt-bindings/zmk/rgb.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/rgb.h) header, -which is added at the top of the keymap file: - -```dts -#include -``` - -This will allow you to reference the actions defined in this header such as `RGB_TOG`. - -Here is a table describing the action for each define: - | Define | Action | | --------------- | ---------------------------------------------------------------------------------------------- | | `RGB_ON` | Turns the RGB feature on | diff --git a/docs/docs/keymaps/index.mdx b/docs/docs/keymaps/index.mdx index 18d7076d..e5e8a095 100644 --- a/docs/docs/keymaps/index.mdx +++ b/docs/docs/keymaps/index.mdx @@ -91,7 +91,7 @@ The top two lines of most keymaps should include: ```dts #include -#include +#include ``` The first defines the nodes for all the available behaviors in ZMK, which will be referenced in the behavior bindings. This is how bindings like `&kp` can reference the key press behavior defined with an anchor name of `kp`.