summaryrefslogtreecommitdiff
path: root/keyboards/jd40
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jd40')
-rw-r--r--keyboards/jd40/config.h4
-rw-r--r--keyboards/jd40/info.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/jd40/config.h b/keyboards/jd40/config.h
index cec546538a..873b67a11d 100644
--- a/keyboards/jd40/config.h
+++ b/keyboards/jd40/config.h
@@ -32,7 +32,3 @@ 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..3cdc06f7a4 100644
--- a/keyboards/jd40/info.json
+++ b/keyboards/jd40/info.json
@@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
+ "led_count": 12
+ },
"ws2812": {
"pin": "D3"
},