summaryrefslogtreecommitdiff
path: root/keyboards/winry
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-24 17:37:54 +1000
committerGitHub <noreply@github.com>2023-06-24 17:37:54 +1000
commit4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch)
treecf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/winry
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/winry')
-rw-r--r--keyboards/winry/winry25tc/config.h21
-rw-r--r--keyboards/winry/winry25tc/info.json2
-rw-r--r--keyboards/winry/winry315/config.h3
-rw-r--r--keyboards/winry/winry315/info.json2
4 files changed, 4 insertions, 24 deletions
diff --git a/keyboards/winry/winry25tc/config.h b/keyboards/winry/winry25tc/config.h
deleted file mode 100644
index 231f392e4f..0000000000
--- a/keyboards/winry/winry25tc/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
1/* Copyright 2021 Andrzej Ressel (andrzej.ressel@gmail.com)
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#define RGBLIGHT_HUE_STEP 8
20#define RGBLIGHT_SAT_STEP 8
21#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/winry/winry25tc/info.json b/keyboards/winry/winry25tc/info.json
index 56157c2416..26329497fb 100644
--- a/keyboards/winry/winry25tc/info.json
+++ b/keyboards/winry/winry25tc/info.json
@@ -12,6 +12,8 @@
12 "pin": "D5" 12 "pin": "D5"
13 }, 13 },
14 "rgblight": { 14 "rgblight": {
15 "saturation_steps": 8,
16 "brightness_steps": 8,
15 "led_count": 40, 17 "led_count": 40,
16 "max_brightness": 150 18 "max_brightness": 150
17 }, 19 },
diff --git a/keyboards/winry/winry315/config.h b/keyboards/winry/winry315/config.h
index ba3c2a05c1..4453e273d3 100644
--- a/keyboards/winry/winry315/config.h
+++ b/keyboards/winry/winry315/config.h
@@ -12,9 +12,6 @@
12// RGB Lighting configuration. This mode is used by the vendor firmware, and 12// RGB Lighting configuration. This mode is used by the vendor firmware, and
13// can be chosen if the full RGB Matrix support is not desired for some reason. 13// can be chosen if the full RGB Matrix support is not desired for some reason.
14#ifdef RGBLIGHT_ENABLE 14#ifdef RGBLIGHT_ENABLE
15# define RGBLIGHT_HUE_STEP 8
16# define RGBLIGHT_SAT_STEP 8
17# define RGBLIGHT_VAL_STEP 8
18# define RGBLIGHT_EFFECT_BREATHING 15# define RGBLIGHT_EFFECT_BREATHING
19# define RGBLIGHT_EFFECT_RAINBOW_MOOD 16# define RGBLIGHT_EFFECT_RAINBOW_MOOD
20# define RGBLIGHT_EFFECT_RAINBOW_SWIRL 17# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/winry/winry315/info.json b/keyboards/winry/winry315/info.json
index 7e810d229c..2c98f3bd53 100644
--- a/keyboards/winry/winry315/info.json
+++ b/keyboards/winry/winry315/info.json
@@ -12,6 +12,8 @@
12 "driver": "WS2812" 12 "driver": "WS2812"
13 }, 13 },
14 "rgblight": { 14 "rgblight": {
15 "saturation_steps": 8,
16 "brightness_steps": 8,
15 "led_count": 27, 17 "led_count": 27,
16 "max_brightness": 150, 18 "max_brightness": 150,
17 "sleep": true 19 "sleep": true