summaryrefslogtreecommitdiff
path: root/keyboards/ydkb/chili
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ydkb/chili')
-rw-r--r--keyboards/ydkb/chili/config.h4
-rw-r--r--keyboards/ydkb/chili/info.json6
2 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/ydkb/chili/config.h b/keyboards/ydkb/chili/config.h
index dd6631f545..03c8bceba0 100644
--- a/keyboards/ydkb/chili/config.h
+++ b/keyboards/ydkb/chili/config.h
@@ -29,10 +29,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 30 // Number of LEDs
-#define RGBLIGHT_HUE_STEP 5
-#define RGBLIGHT_SAT_STEP 10
-#define RGBLIGHT_VAL_STEP 10
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/ydkb/chili/info.json b/keyboards/ydkb/chili/info.json
index 998f3073e1..99de9fab91 100644
--- a/keyboards/ydkb/chili/info.json
+++ b/keyboards/ydkb/chili/info.json
@@ -17,6 +17,12 @@
"pin": "B7",
"breathing": true
},
+ "rgblight": {
+ "hue_steps": 5,
+ "saturation_steps": 10,
+ "brightness_steps": 10,
+ "led_count": 30
+ },
"ws2812": {
"pin": "B3"
},