diff options
author | Ryan <fauxpark@gmail.com> | 2023-06-24 17:37:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 17:37:54 +1000 |
commit | 4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch) | |
tree | cf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/jones | |
parent | 6545eb64a0cc1797893c6782e78a3ecc68de729d (diff) |
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/jones')
-rw-r--r-- | keyboards/jones/v03/config.h | 3 | ||||
-rw-r--r-- | keyboards/jones/v03/info.json | 2 | ||||
-rw-r--r-- | keyboards/jones/v03_1/config.h | 3 | ||||
-rw-r--r-- | keyboards/jones/v03_1/info.json | 2 | ||||
-rw-r--r-- | keyboards/jones/v1/config.h | 3 | ||||
-rw-r--r-- | keyboards/jones/v1/info.json | 2 |
6 files changed, 6 insertions, 9 deletions
diff --git a/keyboards/jones/v03/config.h b/keyboards/jones/v03/config.h index 4589e42ad2..2599c6e297 100644 --- a/keyboards/jones/v03/config.h +++ b/keyboards/jones/v03/config.h @@ -48,9 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define AUDIO_CLICKY #endif - #define RGBLIGHT_HUE_STEP 8 - #define RGBLIGHT_SAT_STEP 8 - #define RGBLIGHT_VAL_STEP 8 /*== Lighting Layers ==*/ #define RGBLIGHT_LAYERS // #define RGBLIGHT_MAX_LAYERS 2 diff --git a/keyboards/jones/v03/info.json b/keyboards/jones/v03/info.json index c01e6a4673..41b3937c02 100644 --- a/keyboards/jones/v03/info.json +++ b/keyboards/jones/v03/info.json @@ -15,6 +15,8 @@ ] }, "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, "led_count": 6 }, "ws2812": { diff --git a/keyboards/jones/v03_1/config.h b/keyboards/jones/v03_1/config.h index b8e85c88a1..55b5661b34 100644 --- a/keyboards/jones/v03_1/config.h +++ b/keyboards/jones/v03_1/config.h @@ -48,9 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define AUDIO_CLICKY #endif - #define RGBLIGHT_HUE_STEP 8 - #define RGBLIGHT_SAT_STEP 8 - #define RGBLIGHT_VAL_STEP 8 /*== Lighting Layers ==*/ #define RGBLIGHT_LAYERS // #define RGBLIGHT_MAX_LAYERS 2 diff --git a/keyboards/jones/v03_1/info.json b/keyboards/jones/v03_1/info.json index 7847aec9c2..41694a733c 100644 --- a/keyboards/jones/v03_1/info.json +++ b/keyboards/jones/v03_1/info.json @@ -15,6 +15,8 @@ ] }, "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, "led_count": 14, "led_map": [0, 1, 2, 3, 13, 12, 4, 5, 6, 7, 8, 9, 10, 11] }, diff --git a/keyboards/jones/v1/config.h b/keyboards/jones/v1/config.h index 6d72d8e7b6..e36574e56a 100644 --- a/keyboards/jones/v1/config.h +++ b/keyboards/jones/v1/config.h @@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #endif /* RGBLIGHT */ - #define RGBLIGHT_HUE_STEP 8 - #define RGBLIGHT_SAT_STEP 8 - #define RGBLIGHT_VAL_STEP 8 /*== Lighting Layers ==*/ #define RGBLIGHT_LAYERS #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF // Overriding RGB Lighting on/off status diff --git a/keyboards/jones/v1/info.json b/keyboards/jones/v1/info.json index a2b94543c3..5d300a7994 100644 --- a/keyboards/jones/v1/info.json +++ b/keyboards/jones/v1/info.json @@ -13,6 +13,8 @@ "rows": ["B3", "B2", "E6", "D6", "D4", "B0", "B1", "B7", "B4", "D7"] }, "rgblight": { + "saturation_steps": 8, + "brightness_steps": 8, "led_count": 4 }, "ws2812": { |