summaryrefslogtreecommitdiff
path: root/keyboards/deng/djam
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/deng/djam
parent7114eb25f812beddf59021ad6a5c70a331285481 (diff)
Migrate RGB Matrix config to info.json - D (#22811)
Diffstat (limited to 'keyboards/deng/djam')
-rw-r--r--keyboards/deng/djam/config.h26
-rw-r--r--keyboards/deng/djam/info.json7
2 files changed, 7 insertions, 26 deletions
diff --git a/keyboards/deng/djam/config.h b/keyboards/deng/djam/config.h
deleted file mode 100644
index 39ea6d6e90..0000000000
--- a/keyboards/deng/djam/config.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Copyright 2022 Leo Deng (@myst729)
- *
- * 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 <http://www.gnu.org/licenses/>.
- */
-#pragma once
-
-#ifdef RGB_MATRIX_ENABLE
-#define RGB_MATRIX_LED_COUNT 31
-#define RGB_MATRIX_KEYPRESSES
-#define ENABLE_RGB_MATRIX_BREATHING
-#define ENABLE_RGB_MATRIX_CYCLE_ALL
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
-#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
-#endif
diff --git a/keyboards/deng/djam/info.json b/keyboards/deng/djam/info.json
index c7fe59ff0a..47d9559d30 100644
--- a/keyboards/deng/djam/info.json
+++ b/keyboards/deng/djam/info.json
@@ -9,6 +9,13 @@
"device_version": "0.0.1"
},
"rgb_matrix": {
+ "animations": {
+ "breathing": true,
+ "cycle_all": true,
+ "solid_reactive_multiwide": true,
+ "solid_reactive_multinexus": true,
+ "solid_multisplash": true
+ },
"driver": "ws2812"
},
"matrix_pins": {