summaryrefslogtreecommitdiffstats
path: root/keyboards/xiudi/xd60/rev2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xiudi/xd60/rev2')
-rw-r--r--keyboards/xiudi/xd60/rev2/config.h4
-rw-r--r--keyboards/xiudi/xd60/rev2/info.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/xiudi/xd60/rev2/config.h b/keyboards/xiudi/xd60/rev2/config.h
index 21efad0d81..3980b2fb71 100644
--- a/keyboards/xiudi/xd60/rev2/config.h
+++ b/keyboards/xiudi/xd60/rev2/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 6 // Number of LEDs
-#define RGBLIGHT_HUE_STEP 10
-#define RGBLIGHT_SAT_STEP 17
-#define RGBLIGHT_VAL_STEP 17
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/xiudi/xd60/rev2/info.json b/keyboards/xiudi/xd60/rev2/info.json
index c45ef7af64..a253f14b24 100644
--- a/keyboards/xiudi/xd60/rev2/info.json
+++ b/keyboards/xiudi/xd60/rev2/info.json
@@ -9,10 +9,15 @@
},
"diode_direction": "COL2ROW",
"backlight": {
+ "driver": "timer",
"pin": "F5",
"levels": 6,
"on_state": 0
},
+ "rgblight": {
+ "hue_steps": 10,
+ "led_count": 6
+ },
"ws2812": {
"pin": "F6"
},