summaryrefslogtreecommitdiff
path: root/keyboards/xiudi/xd68
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xiudi/xd68')
-rw-r--r--keyboards/xiudi/xd68/config.h4
-rw-r--r--keyboards/xiudi/xd68/info.json7
2 files changed, 7 insertions, 4 deletions
diff --git a/keyboards/xiudi/xd68/config.h b/keyboards/xiudi/xd68/config.h
index e62b98a12d..a9c0e097f0 100644
--- a/keyboards/xiudi/xd68/config.h
+++ b/keyboards/xiudi/xd68/config.h
@@ -49,7 +49,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 12 // units to step when in/decreasing hue
-#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
-#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)
diff --git a/keyboards/xiudi/xd68/info.json b/keyboards/xiudi/xd68/info.json
index 0522a66e57..5332e1243f 100644
--- a/keyboards/xiudi/xd68/info.json
+++ b/keyboards/xiudi/xd68/info.json
@@ -14,11 +14,18 @@
},
"diode_direction": "COL2ROW",
"backlight": {
+ "driver": "timer",
"pin": "F5",
"levels": 6,
"breathing": true,
"on_state": 0
},
+ "rgblight": {
+ "hue_steps": 12,
+ "saturation_steps": 25,
+ "brightness_steps": 12,
+ "led_count": 12
+ },
"ws2812": {
"pin": "F6"
},