summaryrefslogtreecommitdiff
path: root/keyboards/jd40
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jd40')
-rw-r--r--keyboards/jd40/config.h1
-rw-r--r--keyboards/jd40/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/jd40/config.h b/keyboards/jd40/config.h
index cec546538a..0176a7c723 100644
--- a/keyboards/jd40/config.h
+++ b/keyboards/jd40/config.h
@@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 12 // Number of LEDs
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/jd40/info.json b/keyboards/jd40/info.json
index 1e11f466a0..db081dfa56 100644
--- a/keyboards/jd40/info.json
+++ b/keyboards/jd40/info.json
@@ -8,6 +8,9 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "led_count": 12
+ },
"ws2812": {
"pin": "D3"
},