diff options
author | Joel Challis <git@zvecr.com> | 2024-02-01 18:10:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 18:10:14 +0000 |
commit | 2f37a7854ddb0055eff7cb605492a57ff5061eb2 (patch) | |
tree | 95a990fb8cb1ec8b47c8760708d7541fa042f4ba /keyboards/mode | |
parent | 7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff) |
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/mode')
-rw-r--r-- | keyboards/mode/m60h/config.h | 2 | ||||
-rw-r--r-- | keyboards/mode/m60h/info.json | 3 | ||||
-rw-r--r-- | keyboards/mode/m60h_f/config.h | 2 | ||||
-rw-r--r-- | keyboards/mode/m60h_f/info.json | 3 | ||||
-rw-r--r-- | keyboards/mode/m60s/config.h | 2 | ||||
-rw-r--r-- | keyboards/mode/m60s/info.json | 3 | ||||
-rw-r--r-- | keyboards/mode/m75s/config.h | 1 |
7 files changed, 9 insertions, 7 deletions
diff --git a/keyboards/mode/m60h/config.h b/keyboards/mode/m60h/config.h index 04fda276e6..f984cf28de 100644 --- a/keyboards/mode/m60h/config.h +++ b/keyboards/mode/m60h/config.h @@ -3,8 +3,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_DMA_STREAM STM32_DMA1_STREAM6 diff --git a/keyboards/mode/m60h/info.json b/keyboards/mode/m60h/info.json index 5fee979149..b33ea3a9c3 100644 --- a/keyboards/mode/m60h/info.json +++ b/keyboards/mode/m60h/info.json @@ -31,6 +31,9 @@ "static_gradient": true, "twinkle": true }, + "default": { + "animation": "rainbow_swirl" + }, "driver": "ws2812", "led_count": 20, "max_brightness": 120, diff --git a/keyboards/mode/m60h_f/config.h b/keyboards/mode/m60h_f/config.h index 04fda276e6..f984cf28de 100644 --- a/keyboards/mode/m60h_f/config.h +++ b/keyboards/mode/m60h_f/config.h @@ -3,8 +3,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_DMA_STREAM STM32_DMA1_STREAM6 diff --git a/keyboards/mode/m60h_f/info.json b/keyboards/mode/m60h_f/info.json index f4bcddfe75..014472bc68 100644 --- a/keyboards/mode/m60h_f/info.json +++ b/keyboards/mode/m60h_f/info.json @@ -31,6 +31,9 @@ "static_gradient": true, "twinkle": true }, + "default": { + "animation": "rainbow_swirl" + }, "driver": "ws2812", "led_count": 20, "max_brightness": 120, diff --git a/keyboards/mode/m60s/config.h b/keyboards/mode/m60s/config.h index 04fda276e6..f984cf28de 100644 --- a/keyboards/mode/m60s/config.h +++ b/keyboards/mode/m60s/config.h @@ -3,8 +3,6 @@ #pragma once -#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL - #define WS2812_PWM_DRIVER PWMD4 #define WS2812_PWM_CHANNEL 4 #define WS2812_DMA_STREAM STM32_DMA1_STREAM6 diff --git a/keyboards/mode/m60s/info.json b/keyboards/mode/m60s/info.json index 368f2fff82..6a03219427 100644 --- a/keyboards/mode/m60s/info.json +++ b/keyboards/mode/m60s/info.json @@ -31,6 +31,9 @@ "static_gradient": true, "twinkle": true }, + "default": { + "animation": "rainbow_swirl" + }, "driver": "ws2812", "led_count": 20, "max_brightness": 120, diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h index 4d3a7d5ca4..5672c10fc5 100644 --- a/keyboards/mode/m75s/config.h +++ b/keyboards/mode/m75s/config.h @@ -17,6 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define BACKLIGHT_DEFAULT_LEVEL 20 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 |