summaryrefslogtreecommitdiff
path: root/keyboards/dekunukem/duckypad
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-07 13:36:14 +0000
committerGitHub <noreply@github.com>2024-01-07 13:36:14 +0000
commit6e3cc56bdfb8b222ca64eb15aa7e69d9bcdc2a08 (patch)
tree791524d8b0ebaece1bf808a6d0c8ad762be5fdef /keyboards/dekunukem/duckypad
parent7114eb25f812beddf59021ad6a5c70a331285481 (diff)
Migrate RGB Matrix config to info.json - D (#22811)
Diffstat (limited to 'keyboards/dekunukem/duckypad')
-rw-r--r--keyboards/dekunukem/duckypad/config.h7
-rw-r--r--keyboards/dekunukem/duckypad/info.json4
2 files changed, 4 insertions, 7 deletions
diff --git a/keyboards/dekunukem/duckypad/config.h b/keyboards/dekunukem/duckypad/config.h
index cc4c962462..88f915d468 100644
--- a/keyboards/dekunukem/duckypad/config.h
+++ b/keyboards/dekunukem/duckypad/config.h
@@ -20,13 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#ifdef RGB_MATRIX_ENABLE
-#define RGB_MATRIX_LED_COUNT 15
-#define RGB_MATRIX_KEYPRESSES
-#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
-#define RGB_MATRIX_DEFAULT_HUE 221
-#endif
-
#define I2C1_SCL_PIN B8
#define I2C1_SDA_PIN B9
diff --git a/keyboards/dekunukem/duckypad/info.json b/keyboards/dekunukem/duckypad/info.json
index 9ca8e7bc93..661076e18a 100644
--- a/keyboards/dekunukem/duckypad/info.json
+++ b/keyboards/dekunukem/duckypad/info.json
@@ -17,6 +17,10 @@
"pin": "A10"
},
"rgb_matrix": {
+ "default": {
+ "animation": "solid_reactive_simple",
+ "hue": 221
+ },
"driver": "ws2812",
"layout": [
{"matrix": [0, 2], "x": 224, "y": 0, "flags": 4},