Migrate lighting defaults to info.json (#22920)

This commit is contained in:
Joel Challis 2024-02-01 18:10:14 +00:00 committed by GitHub
parent 7d5b4adc50
commit 2f37a7854d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
141 changed files with 312 additions and 338 deletions

View file

@ -3,8 +3,6 @@
#pragma once
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
/* Double tap reset button to enter bootloader */
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17

View file

@ -35,6 +35,9 @@
"snake": true,
"static_gradient": true,
"twinkle": true
},
"default": {
"animation": "rainbow_mood"
}
},
"ws2812": {

View file

@ -3,14 +3,11 @@
#pragma once
#define RGBLIGHT_DEFAULT_MODE 9
/* Double tap reset button to enter bootloader */
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
#define I2C_DRIVER I2CD1
#define I2C1_SDA_PIN GP6
#define I2C1_SCL_PIN GP7

View file

@ -17,9 +17,6 @@
"rgblight": {
"led_count": 1,
"hue_steps": 10,
"saturation_steps": 17,
"brightness_steps": 17,
"max_brightness": 255,
"animations": {
"alternating": true,
"breathing": true,
@ -31,6 +28,9 @@
"snake": true,
"static_gradient": true,
"twinkle": true
},
"default": {
"animation": "rainbow_swirl"
}
},
"ws2812": {

View file

@ -3,8 +3,6 @@
#pragma once
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
/* Double tap reset button to enter bootloader */
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17

View file

@ -34,6 +34,9 @@
"snake": true,
"static_gradient": true,
"twinkle": true
},
"default": {
"animation": "rainbow_mood"
}
},
"ws2812": {