summaryrefslogtreecommitdiff
path: root/keyboards/gkeyboard/gpad8_2r
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/gkeyboard/gpad8_2r
parent4b26d9b62b299f15ce517e3fb7c9bfbe8eaf88b8 (diff)
Migrate dynamic_keymap.layer_count >= 4 (#22087)
Diffstat (limited to 'keyboards/gkeyboard/gpad8_2r')
-rw-r--r--keyboards/gkeyboard/gpad8_2r/config.h2
-rw-r--r--keyboards/gkeyboard/gpad8_2r/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/gkeyboard/gpad8_2r/config.h b/keyboards/gkeyboard/gpad8_2r/config.h
index 0691d106b7..88debbe193 100644
--- a/keyboards/gkeyboard/gpad8_2r/config.h
+++ b/keyboards/gkeyboard/gpad8_2r/config.h
@@ -3,8 +3,6 @@
#pragma once
-#define DYNAMIC_KEYMAP_LAYER_COUNT 8
-
#define RGB_MATRIX_LED_COUNT 16
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
diff --git a/keyboards/gkeyboard/gpad8_2r/info.json b/keyboards/gkeyboard/gpad8_2r/info.json
index 2111d58cc4..9aa63091c9 100644
--- a/keyboards/gkeyboard/gpad8_2r/info.json
+++ b/keyboards/gkeyboard/gpad8_2r/info.json
@@ -25,6 +25,9 @@
"rows": ["GP4", "GP5", "GP6"]
},
"diode_direction": "COL2ROW",
+ "dynamic_keymap": {
+ "layer_count": 8
+ },
"encoder": {
"enabled": true,
"rotary": [