summaryrefslogtreecommitdiff
path: root/keyboards/alf/x2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/alf/x2')
-rw-r--r--keyboards/alf/x2/config.h4
-rw-r--r--keyboards/alf/x2/info.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/alf/x2/config.h b/keyboards/alf/x2/config.h
index c982289a0b..d3d6a8b100 100644
--- a/keyboards/alf/x2/config.h
+++ b/keyboards/alf/x2/config.h
@@ -32,7 +32,3 @@
# define RGBLIGHT_EFFECT_RGB_TEST
# define RGBLIGHT_EFFECT_ALTERNATING
# define RGBLIGHT_EFFECT_TWINKLE
-# define RGBLED_NUM 4
-# define RGBLIGHT_HUE_STEP 8
-# define RGBLIGHT_SAT_STEP 8
-# define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/alf/x2/info.json b/keyboards/alf/x2/info.json
index ea54b093ce..7a7dad29b6 100644
--- a/keyboards/alf/x2/info.json
+++ b/keyboards/alf/x2/info.json
@@ -17,6 +17,11 @@
"caps_lock": "B2",
"on_state": 0
},
+ "rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
+ "led_count": 4
+ },
"ws2812": {
"pin": "E2"
},