summaryrefslogtreecommitdiff
path: root/keyboards/monsgeek
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-09-20 14:11:33 +0100
committerGitHub <noreply@github.com>2023-09-20 14:11:33 +0100
commit9a4c30774089b1e0d65e32f86777c69f4f1a313e (patch)
treeb6c20466bbfc8a7c193e895c5bbf0ec36b619562 /keyboards/monsgeek
parent4b26d9b62b299f15ce517e3fb7c9bfbe8eaf88b8 (diff)
Migrate dynamic_keymap.layer_count >= 4 (#22087)
Diffstat (limited to 'keyboards/monsgeek')
-rw-r--r--keyboards/monsgeek/m1/config.h3
-rw-r--r--keyboards/monsgeek/m1/info.json3
-rw-r--r--keyboards/monsgeek/m5/config.h3
-rw-r--r--keyboards/monsgeek/m5/info.json3
-rw-r--r--keyboards/monsgeek/m6/config.h3
-rw-r--r--keyboards/monsgeek/m6/info.json3
6 files changed, 9 insertions, 9 deletions
diff --git a/keyboards/monsgeek/m1/config.h b/keyboards/monsgeek/m1/config.h
index 162001fca6..efec0207c3 100644
--- a/keyboards/monsgeek/m1/config.h
+++ b/keyboards/monsgeek/m1/config.h
@@ -16,9 +16,6 @@
#pragma once
-/* Use 6 dynamic keymap layers */
-#define DYNAMIC_KEYMAP_LAYER_COUNT 6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/monsgeek/m1/info.json b/keyboards/monsgeek/m1/info.json
index 6fbc22b101..3eade9d76d 100644
--- a/keyboards/monsgeek/m1/info.json
+++ b/keyboards/monsgeek/m1/info.json
@@ -26,6 +26,9 @@
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
+ "dynamic_keymap": {
+ "layer_count": 6
+ },
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
diff --git a/keyboards/monsgeek/m5/config.h b/keyboards/monsgeek/m5/config.h
index a92c4975eb..ef2a43cdb3 100644
--- a/keyboards/monsgeek/m5/config.h
+++ b/keyboards/monsgeek/m5/config.h
@@ -16,9 +16,6 @@
#pragma once
-/* Use 5 dynamic keymap layers */
-#define DYNAMIC_KEYMAP_LAYER_COUNT 6
-
/* LED Indicators */
#define LED_WIN_LOCK_PIN C11
diff --git a/keyboards/monsgeek/m5/info.json b/keyboards/monsgeek/m5/info.json
index 1e9ec8618a..7b01d2526d 100644
--- a/keyboards/monsgeek/m5/info.json
+++ b/keyboards/monsgeek/m5/info.json
@@ -25,6 +25,9 @@
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
+ "dynamic_keymap": {
+ "layer_count": 6
+ },
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
diff --git a/keyboards/monsgeek/m6/config.h b/keyboards/monsgeek/m6/config.h
index c6f7d55e9d..fac90ac0ad 100644
--- a/keyboards/monsgeek/m6/config.h
+++ b/keyboards/monsgeek/m6/config.h
@@ -16,9 +16,6 @@
#pragma once
-/* Use 6 dynamic keymap layers */
-#define DYNAMIC_KEYMAP_LAYER_COUNT 6
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/monsgeek/m6/info.json b/keyboards/monsgeek/m6/info.json
index 7751ef13d6..d3951c8046 100644
--- a/keyboards/monsgeek/m6/info.json
+++ b/keyboards/monsgeek/m6/info.json
@@ -25,6 +25,9 @@
"rows": ["C6", "C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
+ "dynamic_keymap": {
+ "layer_count": 6
+ },
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {