From 6e3cc56bdfb8b222ca64eb15aa7e69d9bcdc2a08 Mon Sep 17 00:00:00 2001
From: Joel Challis
Date: Sun, 7 Jan 2024 13:36:14 +0000
Subject: Migrate RGB Matrix config to info.json - D (#22811)
---
keyboards/dp3000/config.h | 25 -------------------------
keyboards/dp3000/rev1/info.json | 4 +++-
keyboards/dp3000/rev2/config.h | 20 ++++++++++++++++++++
3 files changed, 23 insertions(+), 26 deletions(-)
delete mode 100644 keyboards/dp3000/config.h
create mode 100644 keyboards/dp3000/rev2/config.h
(limited to 'keyboards/dp3000')
diff --git a/keyboards/dp3000/config.h b/keyboards/dp3000/config.h
deleted file mode 100644
index 8d889e2c9f..0000000000
--- a/keyboards/dp3000/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright 2023 deddia permana (@depermana12)
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-
-#pragma once
-
-#define RGB_MATRIX_LED_COUNT 8
-#define RGB_MATRIX_SOLID_REACTIVE_GRADIENT_MODE
-#define RGB_MATRIX_KEYPRESSES
-#define RGB_MATRIX_KEYRELEASES
-#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-#define RGB_MATRIX_SLEEP
diff --git a/keyboards/dp3000/rev1/info.json b/keyboards/dp3000/rev1/info.json
index 7ea2d101c4..5628066932 100644
--- a/keyboards/dp3000/rev1/info.json
+++ b/keyboards/dp3000/rev1/info.json
@@ -51,7 +51,9 @@
"max_brightness": 180,
"sat_steps": 8,
"speed_steps": 10,
- "val_steps": 8
+ "val_steps": 8,
+ "react_on_keyup": true,
+ "sleep": true
},
"ws2812": {
"pin": "B5"
diff --git a/keyboards/dp3000/rev2/config.h b/keyboards/dp3000/rev2/config.h
new file mode 100644
index 0000000000..237f9897ba
--- /dev/null
+++ b/keyboards/dp3000/rev2/config.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2023 deddia permana (@depermana12)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+#pragma once
+
+#define RGB_MATRIX_SOLID_REACTIVE_GRADIENT_MODE
--
cgit v1.2.3