summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-09 10:15:03 +0000
committerGitHub <noreply@github.com>2024-01-09 21:15:03 +1100
commit66050bb809b2e173dbcf5ae59f81ed127b193df0 (patch)
tree007426c3996af3080c106505338164d013fe2eac
parent455cd65e80563469712fe56de15666e06b945636 (diff)
Migrate dynamic_keymap.layer_count < 4 where requried (#22091)
Co-authored-by: Nick Brassel <nick@tzarc.org>
-rw-r--r--keyboards/adpenrose/mine/config.h2
-rw-r--r--keyboards/adpenrose/mine/info.json3
-rw-r--r--keyboards/aliceh66/pianoforte/config.h4
-rw-r--r--keyboards/aliceh66/pianoforte_hs/config.h4
-rw-r--r--keyboards/basekeys/trifecta/config.h3
-rw-r--r--keyboards/bpiphany/frosty_flake/config.h2
-rw-r--r--keyboards/bpiphany/frosty_flake/info.json3
-rw-r--r--keyboards/bpiphany/pegasushoof/2013/config.h2
-rw-r--r--keyboards/bpiphany/pegasushoof/2013/info.json3
-rw-r--r--keyboards/bpiphany/pegasushoof/2015/config.h2
-rw-r--r--keyboards/bpiphany/pegasushoof/2015/info.json3
-rw-r--r--keyboards/cannonkeys/balance/config.h2
-rw-r--r--keyboards/cannonkeys/brutalv2_1800/config.h2
-rw-r--r--keyboards/cannonkeys/hoodrowg/config.h3
-rw-r--r--keyboards/cannonkeys/rekt1800/config.h3
-rw-r--r--keyboards/cannonkeys/sagittarius/config.h2
-rw-r--r--keyboards/evyd13/eon95/config.h2
-rw-r--r--keyboards/evyd13/eon95/info.json3
-rw-r--r--keyboards/evyd13/quackfire/config.h2
-rw-r--r--keyboards/evyd13/quackfire/info.json3
-rw-r--r--keyboards/evyd13/wasdat/config.h2
-rw-r--r--keyboards/evyd13/wasdat/info.json3
-rw-r--r--keyboards/evyd13/wasdat_code/config.h2
-rw-r--r--keyboards/evyd13/wasdat_code/info.json3
-rw-r--r--keyboards/fc980c/config.h4
-rw-r--r--keyboards/fc980c/info.json3
-rw-r--r--keyboards/kabedon/kabedon98e/config.h2
-rw-r--r--keyboards/kabedon/kabedon98e/info.json3
-rw-r--r--keyboards/kapcave/arya/config.h2
-rw-r--r--keyboards/kb_elmo/aek2_usb/config.h2
-rw-r--r--keyboards/kb_elmo/aek2_usb/info.json3
-rw-r--r--keyboards/kbdfans/bella/rgb/config.h1
-rw-r--r--keyboards/kbdfans/bella/rgb_iso/config.h1
-rw-r--r--keyboards/keebio/sinc/rev1/config.h1
-rw-r--r--keyboards/keebio/sinc/rev1/info.json3
-rw-r--r--keyboards/keebio/sinc/rev2/config.h1
-rw-r--r--keyboards/keebio/sinc/rev2/info.json3
-rw-r--r--keyboards/nopunin10did/jabberwocky/v1/config.h3
-rw-r--r--keyboards/nopunin10did/jabberwocky/v1/info.json3
-rw-r--r--keyboards/nopunin10did/jabberwocky/v2/config.h3
-rw-r--r--keyboards/nopunin10did/jabberwocky/v2/info.json3
-rw-r--r--keyboards/oddforge/vea/config.h2
-rw-r--r--keyboards/oddforge/vea/info.json3
-rw-r--r--keyboards/teleport/native/config.h3
-rw-r--r--keyboards/tkc/california/config.h3
-rw-r--r--keyboards/tkc/california/info.json3
-rw-r--r--keyboards/tkc/tkl_ab87/config.h3
-rw-r--r--keyboards/wavtype/p01_ultra/config.h2
-rw-r--r--keyboards/ydkb/grape/config.h2
-rw-r--r--keyboards/ydkb/grape/info.json3
-rw-r--r--keyboards/yoichiro/lunakey_macro/config.h3
51 files changed, 54 insertions, 77 deletions
diff --git a/keyboards/adpenrose/mine/config.h b/keyboards/adpenrose/mine/config.h
index cc05ddf8f1..2ddf1c4393 100644
--- a/keyboards/adpenrose/mine/config.h
+++ b/keyboards/adpenrose/mine/config.h
@@ -5,5 +5,3 @@
5 5
6/* Solenoid pin */ 6/* Solenoid pin */
7#define SOLENOID_PIN A7 7#define SOLENOID_PIN A7
8
9#define DYNAMIC_KEYMAP_LAYER_COUNT 2
diff --git a/keyboards/adpenrose/mine/info.json b/keyboards/adpenrose/mine/info.json
index 5010485602..79aceaa3d1 100644
--- a/keyboards/adpenrose/mine/info.json
+++ b/keyboards/adpenrose/mine/info.json
@@ -15,6 +15,9 @@
15 "build": { 15 "build": {
16 "lto": true 16 "lto": true
17 }, 17 },
18 "dynamic_keymap": {
19 "layer_count": 3
20 },
18 "encoder": { 21 "encoder": {
19 "rotary": [{ "pin_a": "C4", "pin_b": "C3" }] 22 "rotary": [{ "pin_a": "C4", "pin_b": "C3" }]
20 }, 23 },
diff --git a/keyboards/aliceh66/pianoforte/config.h b/keyboards/aliceh66/pianoforte/config.h
index 91e0225569..ff87862693 100644
--- a/keyboards/aliceh66/pianoforte/config.h
+++ b/keyboards/aliceh66/pianoforte/config.h
@@ -17,11 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define DYNAMIC_KEYMAP_LAYER_COUNT 2
21
22/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
23#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
24/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
25#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
26
27
diff --git a/keyboards/aliceh66/pianoforte_hs/config.h b/keyboards/aliceh66/pianoforte_hs/config.h
index 91e0225569..ff87862693 100644
--- a/keyboards/aliceh66/pianoforte_hs/config.h
+++ b/keyboards/aliceh66/pianoforte_hs/config.h
@@ -17,11 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define DYNAMIC_KEYMAP_LAYER_COUNT 2
21
22/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
23#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
24/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
25#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
26
27
diff --git a/keyboards/basekeys/trifecta/config.h b/keyboards/basekeys/trifecta/config.h
index 9ae699656b..584a6e4bfc 100644
--- a/keyboards/basekeys/trifecta/config.h
+++ b/keyboards/basekeys/trifecta/config.h
@@ -21,6 +21,3 @@
21 21
22/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
23#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
24
25/* EEPROM for via */
26#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/bpiphany/frosty_flake/config.h b/keyboards/bpiphany/frosty_flake/config.h
index e89623ec8a..8a895c3e50 100644
--- a/keyboards/bpiphany/frosty_flake/config.h
+++ b/keyboards/bpiphany/frosty_flake/config.h
@@ -58,5 +58,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
58//#define NO_ACTION_LAYER 58//#define NO_ACTION_LAYER
59//#define NO_ACTION_TAPPING 59//#define NO_ACTION_TAPPING
60//#define NO_ACTION_ONESHOT 60//#define NO_ACTION_ONESHOT
61
62#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/bpiphany/frosty_flake/info.json b/keyboards/bpiphany/frosty_flake/info.json
index 748ad68076..95fbd477eb 100644
--- a/keyboards/bpiphany/frosty_flake/info.json
+++ b/keyboards/bpiphany/frosty_flake/info.json
@@ -10,6 +10,9 @@
10 }, 10 },
11 "processor": "atmega32u2", 11 "processor": "atmega32u2",
12 "bootloader": "atmel-dfu", 12 "bootloader": "atmel-dfu",
13 "dynamic_keymap": {
14 "layer_count": 3
15 },
13 "community_layouts": ["tkl_ansi"], 16 "community_layouts": ["tkl_ansi"],
14 "layouts": { 17 "layouts": {
15 "LAYOUT": { 18 "LAYOUT": {
diff --git a/keyboards/bpiphany/pegasushoof/2013/config.h b/keyboards/bpiphany/pegasushoof/2013/config.h
index eb7c2fde13..182495aa9b 100644
--- a/keyboards/bpiphany/pegasushoof/2013/config.h
+++ b/keyboards/bpiphany/pegasushoof/2013/config.h
@@ -20,5 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
20/* key matrix size */ 20/* key matrix size */
21#define MATRIX_ROWS 8 21#define MATRIX_ROWS 8
22#define MATRIX_COLS 18 22#define MATRIX_COLS 18
23
24#define DYNAMIC_KEYMAP_LAYER_COUNT 3 // not enough memory for a 4th layer with VIA
diff --git a/keyboards/bpiphany/pegasushoof/2013/info.json b/keyboards/bpiphany/pegasushoof/2013/info.json
index abbeeb0f36..c7b120fd05 100644
--- a/keyboards/bpiphany/pegasushoof/2013/info.json
+++ b/keyboards/bpiphany/pegasushoof/2013/info.json
@@ -1,6 +1,9 @@
1{ 1{
2 "keyboard_name": "Majestouch TKL \\\\w The Pegasus Hoof 2013", 2 "keyboard_name": "Majestouch TKL \\\\w The Pegasus Hoof 2013",
3 "diode_direction": "COL2ROW", 3 "diode_direction": "COL2ROW",
4 "dynamic_keymap": {
5 "layer_count": 3
6 },
4 "indicators": { 7 "indicators": {
5 "caps_lock": "C6", 8 "caps_lock": "C6",
6 "scroll_lock": "C5", 9 "scroll_lock": "C5",
diff --git a/keyboards/bpiphany/pegasushoof/2015/config.h b/keyboards/bpiphany/pegasushoof/2015/config.h
index eb7c2fde13..182495aa9b 100644
--- a/keyboards/bpiphany/pegasushoof/2015/config.h
+++ b/keyboards/bpiphany/pegasushoof/2015/config.h
@@ -20,5 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
20/* key matrix size */ 20/* key matrix size */
21#define MATRIX_ROWS 8 21#define MATRIX_ROWS 8
22#define MATRIX_COLS 18 22#define MATRIX_COLS 18
23
24#define DYNAMIC_KEYMAP_LAYER_COUNT 3 // not enough memory for a 4th layer with VIA
diff --git a/keyboards/bpiphany/pegasushoof/2015/info.json b/keyboards/bpiphany/pegasushoof/2015/info.json
index a3b5f66784..5c4f8d6f91 100644
--- a/keyboards/bpiphany/pegasushoof/2015/info.json
+++ b/keyboards/bpiphany/pegasushoof/2015/info.json
@@ -1,6 +1,9 @@
1{ 1{
2 "keyboard_name": "Majestouch TKL The Pegasus Hoof 2015", 2 "keyboard_name": "Majestouch TKL The Pegasus Hoof 2015",
3 "diode_direction": "COL2ROW", 3 "diode_direction": "COL2ROW",
4 "dynamic_keymap": {
5 "layer_count": 3
6 },
4 "indicators": { 7 "indicators": {
5 "caps_lock": "C6", 8 "caps_lock": "C6",
6 "scroll_lock": "C5", 9 "scroll_lock": "C5",
diff --git a/keyboards/cannonkeys/balance/config.h b/keyboards/cannonkeys/balance/config.h
index 0f2582901b..4b007cf387 100644
--- a/keyboards/cannonkeys/balance/config.h
+++ b/keyboards/cannonkeys/balance/config.h
@@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
23#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
24 24
25#define DYNAMIC_KEYMAP_LAYER_COUNT 3
26
27/* 25/*
28 * Feature disable options 26 * Feature disable options
29 * These options are also useful to firmware size reduction. 27 * These options are also useful to firmware size reduction.
diff --git a/keyboards/cannonkeys/brutalv2_1800/config.h b/keyboards/cannonkeys/brutalv2_1800/config.h
index 9ac66b5624..17bba21f22 100644
--- a/keyboards/cannonkeys/brutalv2_1800/config.h
+++ b/keyboards/cannonkeys/brutalv2_1800/config.h
@@ -20,6 +20,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
20#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET 20#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
21#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U 21#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
22 22
23#define DYNAMIC_KEYMAP_LAYER_COUNT 3
24#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64 23#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
25
diff --git a/keyboards/cannonkeys/hoodrowg/config.h b/keyboards/cannonkeys/hoodrowg/config.h
index 3b78decb27..dabdb5ee30 100644
--- a/keyboards/cannonkeys/hoodrowg/config.h
+++ b/keyboards/cannonkeys/hoodrowg/config.h
@@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
23#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
24 24
25#define DYNAMIC_KEYMAP_LAYER_COUNT 3
26
27
28/* 25/*
29 * Feature disable options 26 * Feature disable options
30 * These options are also useful to firmware size reduction. 27 * These options are also useful to firmware size reduction.
diff --git a/keyboards/cannonkeys/rekt1800/config.h b/keyboards/cannonkeys/rekt1800/config.h
index 7f21b3f8a8..a47b76953a 100644
--- a/keyboards/cannonkeys/rekt1800/config.h
+++ b/keyboards/cannonkeys/rekt1800/config.h
@@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
26/* Locking resynchronize hack */ 26/* Locking resynchronize hack */
27#define LOCKING_RESYNC_ENABLE 27#define LOCKING_RESYNC_ENABLE
28 28
29
30#define DYNAMIC_KEYMAP_LAYER_COUNT 3
31
32/* 29/*
33 * Feature disable options 30 * Feature disable options
34 * These options are also useful to firmware size reduction. 31 * These options are also useful to firmware size reduction.
diff --git a/keyboards/cannonkeys/sagittarius/config.h b/keyboards/cannonkeys/sagittarius/config.h
index b8cdc797d0..f3d6237a78 100644
--- a/keyboards/cannonkeys/sagittarius/config.h
+++ b/keyboards/cannonkeys/sagittarius/config.h
@@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
31#define WS2812_SPI_SCK_PAL_MODE 0 31#define WS2812_SPI_SCK_PAL_MODE 0
32#define WS2812_SPI_SCK_PIN B13 32#define WS2812_SPI_SCK_PIN B13
33 33
34#define DYNAMIC_KEYMAP_LAYER_COUNT 2
35
36/* 34/*
37 * Feature disable options 35 * Feature disable options
38 * These options are also useful to firmware size reduction. 36 * These options are also useful to firmware size reduction.
diff --git a/keyboards/evyd13/eon95/config.h b/keyboards/evyd13/eon95/config.h
index dcf77ef1ac..230ff5e311 100644
--- a/keyboards/evyd13/eon95/config.h
+++ b/keyboards/evyd13/eon95/config.h
@@ -36,5 +36,3 @@
36//#define NO_ACTION_LAYER 36//#define NO_ACTION_LAYER
37//#define NO_ACTION_TAPPING 37//#define NO_ACTION_TAPPING
38//#define NO_ACTION_ONESHOT 38//#define NO_ACTION_ONESHOT
39
40#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/evyd13/eon95/info.json b/keyboards/evyd13/eon95/info.json
index 8e2b0a5034..c928894dba 100644
--- a/keyboards/evyd13/eon95/info.json
+++ b/keyboards/evyd13/eon95/info.json
@@ -13,6 +13,9 @@
13 "rows": ["D1", "D0", "D3", "D2", "D6", "D4", "D7", "B4", "B5", "B6", "C6", "C7"] 13 "rows": ["D1", "D0", "D3", "D2", "D6", "D4", "D7", "B4", "B5", "B6", "C6", "C7"]
14 }, 14 },
15 "diode_direction": "COL2ROW", 15 "diode_direction": "COL2ROW",
16 "dynamic_keymap": {
17 "layer_count": 3
18 },
16 "indicators": { 19 "indicators": {
17 "caps_lock": "D5", 20 "caps_lock": "D5",
18 "num_lock": "B7", 21 "num_lock": "B7",
diff --git a/keyboards/evyd13/quackfire/config.h b/keyboards/evyd13/quackfire/config.h
index 78bb3b6f80..f64827d05f 100644
--- a/keyboards/evyd13/quackfire/config.h
+++ b/keyboards/evyd13/quackfire/config.h
@@ -37,5 +37,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
37//#define NO_ACTION_LAYER 37//#define NO_ACTION_LAYER
38//#define NO_ACTION_TAPPING 38//#define NO_ACTION_TAPPING
39//#define NO_ACTION_ONESHOT 39//#define NO_ACTION_ONESHOT
40
41#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/evyd13/quackfire/info.json b/keyboards/evyd13/quackfire/info.json
index 4f2e248aa5..493559b38e 100644
--- a/keyboards/evyd13/quackfire/info.json
+++ b/keyboards/evyd13/quackfire/info.json
@@ -13,6 +13,9 @@
13 "rows": ["D3", "F5", "F4", "F0", "B7", "B2", "E6", "B0"] 13 "rows": ["D3", "F5", "F4", "F0", "B7", "B2", "E6", "B0"]
14 }, 14 },
15 "diode_direction": "ROW2COL", 15 "diode_direction": "ROW2COL",
16 "dynamic_keymap": {
17 "layer_count": 3
18 },
16 "indicators": { 19 "indicators": {
17 "caps_lock": "F7", 20 "caps_lock": "F7",
18 "scroll_lock": "F6", 21 "scroll_lock": "F6",
diff --git a/keyboards/evyd13/wasdat/config.h b/keyboards/evyd13/wasdat/config.h
index 78e619874c..8f4df3adf5 100644
--- a/keyboards/evyd13/wasdat/config.h
+++ b/keyboards/evyd13/wasdat/config.h
@@ -52,5 +52,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
52//#define NO_ACTION_LAYER 52//#define NO_ACTION_LAYER
53//#define NO_ACTION_TAPPING 53//#define NO_ACTION_TAPPING
54//#define NO_ACTION_ONESHOT 54//#define NO_ACTION_ONESHOT
55
56#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/evyd13/wasdat/info.json b/keyboards/evyd13/wasdat/info.json
index f044efff66..109e033532 100644
--- a/keyboards/evyd13/wasdat/info.json
+++ b/keyboards/evyd13/wasdat/info.json
@@ -13,6 +13,9 @@
13 "bootmagic": { 13 "bootmagic": {
14 "matrix": [0, 5] 14 "matrix": [0, 5]
15 }, 15 },
16 "dynamic_keymap": {
17 "layer_count": 3
18 },
16 "qmk_lufa_bootloader": { 19 "qmk_lufa_bootloader": {
17 "esc_output": "D6", 20 "esc_output": "D6",
18 "esc_input": "D7", 21 "esc_input": "D7",
diff --git a/keyboards/evyd13/wasdat_code/config.h b/keyboards/evyd13/wasdat_code/config.h
index 085965b814..769751b19d 100644
--- a/keyboards/evyd13/wasdat_code/config.h
+++ b/keyboards/evyd13/wasdat_code/config.h
@@ -58,5 +58,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
58//#define NO_ACTION_LAYER 58//#define NO_ACTION_LAYER
59//#define NO_ACTION_TAPPING 59//#define NO_ACTION_TAPPING
60//#define NO_ACTION_ONESHOT 60//#define NO_ACTION_ONESHOT
61
62#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/evyd13/wasdat_code/info.json b/keyboards/evyd13/wasdat_code/info.json
index 3841f56cbd..9fb14283ae 100644
--- a/keyboards/evyd13/wasdat_code/info.json
+++ b/keyboards/evyd13/wasdat_code/info.json
@@ -13,6 +13,9 @@
13 "levels": 5, 13 "levels": 5,
14 "breathing": true 14 "breathing": true
15 }, 15 },
16 "dynamic_keymap": {
17 "layer_count": 3
18 },
16 "qmk_lufa_bootloader": { 19 "qmk_lufa_bootloader": {
17 "esc_input": "F0", 20 "esc_input": "F0",
18 "esc_output": "E6", 21 "esc_output": "E6",
diff --git a/keyboards/fc980c/config.h b/keyboards/fc980c/config.h
index 776b8ef35f..4937e9e801 100644
--- a/keyboards/fc980c/config.h
+++ b/keyboards/fc980c/config.h
@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/* Maximum dynamic keymap layers (constrained by EEPROM space) */
22#define DYNAMIC_KEYMAP_LAYER_COUNT 3
23
24/* key matrix size */ 20/* key matrix size */
25#define MATRIX_ROWS 8 21#define MATRIX_ROWS 8
26#define MATRIX_COLS 16 22#define MATRIX_COLS 16
diff --git a/keyboards/fc980c/info.json b/keyboards/fc980c/info.json
index 27a10b6f51..5060885c69 100644
--- a/keyboards/fc980c/info.json
+++ b/keyboards/fc980c/info.json
@@ -8,6 +8,9 @@
8 "pid": "0x980C", 8 "pid": "0x980C",
9 "device_version": "1.0.0" 9 "device_version": "1.0.0"
10 }, 10 },
11 "dynamic_keymap": {
12 "layer_count": 3
13 },
11 "indicators": { 14 "indicators": {
12 "caps_lock": "B5", 15 "caps_lock": "B5",
13 "num_lock": "B4", 16 "num_lock": "B4",
diff --git a/keyboards/kabedon/kabedon98e/config.h b/keyboards/kabedon/kabedon98e/config.h
index 64013a3a7f..514a1121b3 100644
--- a/keyboards/kabedon/kabedon98e/config.h
+++ b/keyboards/kabedon/kabedon98e/config.h
@@ -24,5 +24,3 @@
24#define LOCKING_SUPPORT_ENABLE 24#define LOCKING_SUPPORT_ENABLE
25/* Locking resynchronize hack */ 25/* Locking resynchronize hack */
26#define LOCKING_RESYNC_ENABLE 26#define LOCKING_RESYNC_ENABLE
27
28#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/kabedon/kabedon98e/info.json b/keyboards/kabedon/kabedon98e/info.json
index 42f0796a53..6f99aa6c30 100644
--- a/keyboards/kabedon/kabedon98e/info.json
+++ b/keyboards/kabedon/kabedon98e/info.json
@@ -33,6 +33,9 @@
33 "rows": ["A4", "B10", "B2", "B1", "B0", "B15", "B13", "B14", "B12", "A10", "A9", "A8"] 33 "rows": ["A4", "B10", "B2", "B1", "B0", "B15", "B13", "B14", "B12", "A10", "A9", "A8"]
34 }, 34 },
35 "diode_direction": "ROW2COL", 35 "diode_direction": "ROW2COL",
36 "dynamic_keymap": {
37 "layer_count": 3
38 },
36 "encoder": { 39 "encoder": {
37 "rotary": [ 40 "rotary": [
38 {"pin_a": "B3", "pin_b": "B5"}, 41 {"pin_a": "B3", "pin_b": "B5"},
diff --git a/keyboards/kapcave/arya/config.h b/keyboards/kapcave/arya/config.h
index 9422076315..6cd3657227 100644
--- a/keyboards/kapcave/arya/config.h
+++ b/keyboards/kapcave/arya/config.h
@@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
23#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
24 24
25#define DYNAMIC_KEYMAP_LAYER_COUNT 3
26
27/* 25/*
28 * Feature disable options 26 * Feature disable options
29 * These options are also useful to firmware size reduction. 27 * These options are also useful to firmware size reduction.
diff --git a/keyboards/kb_elmo/aek2_usb/config.h b/keyboards/kb_elmo/aek2_usb/config.h
index 92630de5b4..085db9791c 100644
--- a/keyboards/kb_elmo/aek2_usb/config.h
+++ b/keyboards/kb_elmo/aek2_usb/config.h
@@ -22,6 +22,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
23#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
24 24
25/* reduce EEPROM usage */
26#define DYNAMIC_KEYMAP_LAYER_COUNT 3
27#define LAYER_STATE_8BIT 25#define LAYER_STATE_8BIT
diff --git a/keyboards/kb_elmo/aek2_usb/info.json b/keyboards/kb_elmo/aek2_usb/info.json
index 693f452f20..8a091a494c 100644
--- a/keyboards/kb_elmo/aek2_usb/info.json
+++ b/keyboards/kb_elmo/aek2_usb/info.json
@@ -13,6 +13,9 @@
13 "rows": ["D5", "C1", "C4", "D0", "C3", "C2", "B3", "B4"] 13 "rows": ["D5", "C1", "C4", "D0", "C3", "C2", "B3", "B4"]
14 }, 14 },
15 "diode_direction": "COL2ROW", 15 "diode_direction": "COL2ROW",
16 "dynamic_keymap": {
17 "layer_count": 3
18 },
16 "indicators": { 19 "indicators": {
17 "caps_lock": "B1", 20 "caps_lock": "B1",
18 "num_lock": "B2", 21 "num_lock": "B2",
diff --git a/keyboards/kbdfans/bella/rgb/config.h b/keyboards/kbdfans/bella/rgb/config.h
index 26b629b918..6e726eaae0 100644
--- a/keyboards/kbdfans/bella/rgb/config.h
+++ b/keyboards/kbdfans/bella/rgb/config.h
@@ -75,4 +75,3 @@
75#define RGB_MATRIX_LED_COUNT 108 75#define RGB_MATRIX_LED_COUNT 108
76#define DRIVER_INDICATOR_LED_TOTAL 0 76#define DRIVER_INDICATOR_LED_TOTAL 0
77#endif 77#endif
78#define DYNAMIC_KEYMAP_LAYER_COUNT 2
diff --git a/keyboards/kbdfans/bella/rgb_iso/config.h b/keyboards/kbdfans/bella/rgb_iso/config.h
index d99205c771..b53c1f9187 100644
--- a/keyboards/kbdfans/bella/rgb_iso/config.h
+++ b/keyboards/kbdfans/bella/rgb_iso/config.h
@@ -75,4 +75,3 @@
75#define RGB_MATRIX_LED_COUNT 109 75#define RGB_MATRIX_LED_COUNT 109
76#define DRIVER_INDICATOR_LED_TOTAL 0 76#define DRIVER_INDICATOR_LED_TOTAL 0
77#endif 77#endif
78#define DYNAMIC_KEYMAP_LAYER_COUNT 2
diff --git a/keyboards/keebio/sinc/rev1/config.h b/keyboards/keebio/sinc/rev1/config.h
index 2d2c772422..e8024190b4 100644
--- a/keyboards/keebio/sinc/rev1/config.h
+++ b/keyboards/keebio/sinc/rev1/config.h
@@ -27,4 +27,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) 27#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
28 28
29#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 29#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
30#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/keebio/sinc/rev1/info.json b/keyboards/keebio/sinc/rev1/info.json
index 0829cae6e7..b7774fa0ed 100644
--- a/keyboards/keebio/sinc/rev1/info.json
+++ b/keyboards/keebio/sinc/rev1/info.json
@@ -7,6 +7,9 @@
7 "processor": "atmega32u4", 7 "processor": "atmega32u4",
8 "bootloader": "atmel-dfu", 8 "bootloader": "atmel-dfu",
9 "diode_direction": "COL2ROW", 9 "diode_direction": "COL2ROW",
10 "dynamic_keymap": {
11 "layer_count": 3
12 },
10 "features": { 13 "features": {
11 "rgblight": true, 14 "rgblight": true,
12 "backlight": true 15 "backlight": true
diff --git a/keyboards/keebio/sinc/rev2/config.h b/keyboards/keebio/sinc/rev2/config.h
index 2d2c772422..e8024190b4 100644
--- a/keyboards/keebio/sinc/rev2/config.h
+++ b/keyboards/keebio/sinc/rev2/config.h
@@ -27,4 +27,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) 27#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
28 28
29#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 29#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
30#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/keebio/sinc/rev2/info.json b/keyboards/keebio/sinc/rev2/info.json
index 5b74d17b1a..ff5ef2667a 100644
--- a/keyboards/keebio/sinc/rev2/info.json
+++ b/keyboards/keebio/sinc/rev2/info.json
@@ -7,6 +7,9 @@
7 "processor": "atmega32u4", 7 "processor": "atmega32u4",
8 "bootloader": "atmel-dfu", 8 "bootloader": "atmel-dfu",
9 "diode_direction": "COL2ROW", 9 "diode_direction": "COL2ROW",
10 "dynamic_keymap": {
11 "layer_count": 3
12 },
10 "features": { 13 "features": {
11 "rgblight": true, 14 "rgblight": true,
12 "backlight": true 15 "backlight": true
diff --git a/keyboards/nopunin10did/jabberwocky/v1/config.h b/keyboards/nopunin10did/jabberwocky/v1/config.h
index 1eb25da282..ae6256b351 100644
--- a/keyboards/nopunin10did/jabberwocky/v1/config.h
+++ b/keyboards/nopunin10did/jabberwocky/v1/config.h
@@ -21,6 +21,3 @@
21 21
22/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
23#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
24
25/* Reducing layer count to 3 for via support */
26#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/nopunin10did/jabberwocky/v1/info.json b/keyboards/nopunin10did/jabberwocky/v1/info.json
index 983b48ab1a..59ecc815b0 100644
--- a/keyboards/nopunin10did/jabberwocky/v1/info.json
+++ b/keyboards/nopunin10did/jabberwocky/v1/info.json
@@ -17,6 +17,9 @@
17 "caps_lock": "B0", 17 "caps_lock": "B0",
18 "num_lock": "D1" 18 "num_lock": "D1"
19 }, 19 },
20 "dynamic_keymap": {
21 "layer_count": 3
22 },
20 "processor": "atmega32u4", 23 "processor": "atmega32u4",
21 "bootloader": "atmel-dfu", 24 "bootloader": "atmel-dfu",
22 "layouts": { 25 "layouts": {
diff --git a/keyboards/nopunin10did/jabberwocky/v2/config.h b/keyboards/nopunin10did/jabberwocky/v2/config.h
index 7be9070afe..b00b2242dc 100644
--- a/keyboards/nopunin10did/jabberwocky/v2/config.h
+++ b/keyboards/nopunin10did/jabberwocky/v2/config.h
@@ -21,6 +21,3 @@
21 21
22/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
23#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
24
25/* Reducing layer count to 3 for via support */
26#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/nopunin10did/jabberwocky/v2/info.json b/keyboards/nopunin10did/jabberwocky/v2/info.json
index 64848c0552..263ae7df8f 100644
--- a/keyboards/nopunin10did/jabberwocky/v2/info.json
+++ b/keyboards/nopunin10did/jabberwocky/v2/info.json
@@ -18,6 +18,9 @@
18 "pin": "D6", 18 "pin": "D6",
19 "levels": 6 19 "levels": 6
20 }, 20 },
21 "dynamic_keymap": {
22 "layer_count": 3
23 },
21 "indicators": { 24 "indicators": {
22 "caps_lock": "B7", 25 "caps_lock": "B7",
23 "num_lock": "C6" 26 "num_lock": "C6"
diff --git a/keyboards/oddforge/vea/config.h b/keyboards/oddforge/vea/config.h
index 963f3ea313..316f8392c0 100644
--- a/keyboards/oddforge/vea/config.h
+++ b/keyboards/oddforge/vea/config.h
@@ -24,6 +24,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
24#define LOCKING_SUPPORT_ENABLE 24#define LOCKING_SUPPORT_ENABLE
25#define LOCKING_RESYNC_ENABLE 25#define LOCKING_RESYNC_ENABLE
26 26
27#define DYNAMIC_KEYMAP_LAYER_COUNT 3
28
29#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 9 27#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 9
diff --git a/keyboards/oddforge/vea/info.json b/keyboards/oddforge/vea/info.json
index b5299b1f3e..9b55d0f2b5 100644
--- a/keyboards/oddforge/vea/info.json
+++ b/keyboards/oddforge/vea/info.json
@@ -11,6 +11,9 @@
11 "backlight": { 11 "backlight": {
12 "pin": "D4" 12 "pin": "D4"
13 }, 13 },
14 "dynamic_keymap": {
15 "layer_count": 3
16 },
14 "rgblight": { 17 "rgblight": {
15 "led_count": 18, 18 "led_count": 18,
16 "sleep": true, 19 "sleep": true,
diff --git a/keyboards/teleport/native/config.h b/keyboards/teleport/native/config.h
index 08fdfcbc49..0ae0493125 100644
--- a/keyboards/teleport/native/config.h
+++ b/keyboards/teleport/native/config.h
@@ -14,9 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
14 14
15#pragma once 15#pragma once
16 16
17/* Use 3 dynamic keymap layers */
18#define DYNAMIC_KEYMAP_LAYER_COUNT 3
19
20/* i2C Config */ 17/* i2C Config */
21#define I2C_DRIVER I2CD1 18#define I2C_DRIVER I2CD1
22#define I2C1_SCL_PIN B6 19#define I2C1_SCL_PIN B6
diff --git a/keyboards/tkc/california/config.h b/keyboards/tkc/california/config.h
index a9909d1001..827133aed3 100644
--- a/keyboards/tkc/california/config.h
+++ b/keyboards/tkc/california/config.h
@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define DYNAMIC_KEYMAP_LAYER_COUNT 2 //Reduced layer count due to memory space considerations
22
23/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
24#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
25/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/tkc/california/info.json b/keyboards/tkc/california/info.json
index d309e872f4..731e65323e 100644
--- a/keyboards/tkc/california/info.json
+++ b/keyboards/tkc/california/info.json
@@ -17,6 +17,9 @@
17 "pin": "B7", 17 "pin": "B7",
18 "breathing": true 18 "breathing": true
19 }, 19 },
20 "dynamic_keymap": {
21 "layer_count": 3
22 },
20 "indicators": { 23 "indicators": {
21 "caps_lock": "F0", 24 "caps_lock": "F0",
22 "num_lock": "F1" 25 "num_lock": "F1"
diff --git a/keyboards/tkc/tkl_ab87/config.h b/keyboards/tkc/tkl_ab87/config.h
index 5a3bda67c2..ef2f04081f 100644
--- a/keyboards/tkc/tkl_ab87/config.h
+++ b/keyboards/tkc/tkl_ab87/config.h
@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define DYNAMIC_KEYMAP_LAYER_COUNT 2 //Reduced layer count due to memory space considerations
22
23/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
24#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
25/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/wavtype/p01_ultra/config.h b/keyboards/wavtype/p01_ultra/config.h
index e01f469285..3da58bc5d2 100644
--- a/keyboards/wavtype/p01_ultra/config.h
+++ b/keyboards/wavtype/p01_ultra/config.h
@@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
23#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
24 24
25#define DYNAMIC_KEYMAP_LAYER_COUNT 2
26
27/* 25/*
28 * Feature disable options 26 * Feature disable options
29 * These options are also useful to firmware size reduction. 27 * These options are also useful to firmware size reduction.
diff --git a/keyboards/ydkb/grape/config.h b/keyboards/ydkb/grape/config.h
index c0bea85aba..a835243d58 100644
--- a/keyboards/ydkb/grape/config.h
+++ b/keyboards/ydkb/grape/config.h
@@ -28,5 +28,3 @@
28#define LOCKING_SUPPORT_ENABLE 28#define LOCKING_SUPPORT_ENABLE
29/* Locking resynchronize hack */ 29/* Locking resynchronize hack */
30#define LOCKING_RESYNC_ENABLE 30#define LOCKING_RESYNC_ENABLE
31
32#define DYNAMIC_KEYMAP_LAYER_COUNT 3
diff --git a/keyboards/ydkb/grape/info.json b/keyboards/ydkb/grape/info.json
index 32c9914bdb..75aa8fffaf 100644
--- a/keyboards/ydkb/grape/info.json
+++ b/keyboards/ydkb/grape/info.json
@@ -12,6 +12,9 @@
12 "pin": "B7", 12 "pin": "B7",
13 "breathing": true 13 "breathing": true
14 }, 14 },
15 "dynamic_keymap": {
16 "layer_count": 3
17 },
15 "rgblight": { 18 "rgblight": {
16 "led_count": 4 19 "led_count": 4
17 }, 20 },
diff --git a/keyboards/yoichiro/lunakey_macro/config.h b/keyboards/yoichiro/lunakey_macro/config.h
index 4c3ced2c42..78ba8a377c 100644
--- a/keyboards/yoichiro/lunakey_macro/config.h
+++ b/keyboards/yoichiro/lunakey_macro/config.h
@@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27/* Mouse Keys Combined mode */ 27/* Mouse Keys Combined mode */
28//#define MK_COMBINED 28//#define MK_COMBINED
29 29
30/* Layer Count */
31#define DYNAMIC_KEYMAP_LAYER_COUNT 3
32
33/* 30/*
34 * Feature disable options 31 * Feature disable options
35 * These options are also useful to firmware size reduction. 32 * These options are also useful to firmware size reduction.