diff options
| author | Joel Challis <git@zvecr.com> | 2024-01-16 01:16:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-16 01:16:31 +0000 |
| commit | e1f59a6efc793522155db35155f6fbdc0504d504 (patch) | |
| tree | 07538fce2ce1f3c6a49895a8e04864615f6490ab /keyboards/winry | |
| parent | e30d0e52871ce46e6f94d5535c1d60aa75668fe5 (diff) | |
Migrate RGB Matrix config to info.json - TUVW (#22910)
Diffstat (limited to 'keyboards/winry')
| -rw-r--r-- | keyboards/winry/winry315/config.h | 76 | ||||
| -rw-r--r-- | keyboards/winry/winry315/info.json | 46 |
2 files changed, 46 insertions, 76 deletions
diff --git a/keyboards/winry/winry315/config.h b/keyboards/winry/winry315/config.h index 40de98e7cf..7bb818d273 100644 --- a/keyboards/winry/winry315/config.h +++ b/keyboards/winry/winry315/config.h | |||
| @@ -3,78 +3,4 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | // clang-format on | 6 | #define RGB_MATRIX_LED_COUNT 27 |
| 7 | |||
| 8 | // RGB Matrix configuration. | ||
| 9 | #ifdef RGB_MATRIX_ENABLE | ||
| 10 | # define RGB_MATRIX_LED_COUNT 27 | ||
| 11 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 | ||
| 12 | |||
| 13 | # define RGB_MATRIX_CENTER \ | ||
| 14 | { 35, 35 } | ||
| 15 | |||
| 16 | # define RGB_MATRIX_SLEEP | ||
| 17 | |||
| 18 | // This option is required for the TYPING_HEATMAP and DIGITAL_RAIN effects, | ||
| 19 | // both of which are disabled below, so the common support for those effects is | ||
| 20 | // disabled too. | ||
| 21 | # undef RGB_MATRIX_FRAMEBUFFER_EFFECTS | ||
| 22 | |||
| 23 | // This option is required for reactive effects; disabling this option will | ||
| 24 | // implicitly disable all of them. | ||
| 25 | # define RGB_MATRIX_KEYPRESSES | ||
| 26 | |||
| 27 | # define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
| 28 | # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | ||
| 29 | # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
| 30 | # define ENABLE_RGB_MATRIX_BREATHING | ||
| 31 | # define ENABLE_RGB_MATRIX_BAND_SAT | ||
| 32 | # define ENABLE_RGB_MATRIX_BAND_VAL | ||
| 33 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | ||
| 34 | # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | ||
| 35 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | ||
| 36 | # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | ||
| 37 | # define ENABLE_RGB_MATRIX_CYCLE_ALL | ||
| 38 | # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
| 39 | # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
| 40 | # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
| 41 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
| 42 | # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
| 43 | # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
| 44 | # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
| 45 | # define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
| 46 | # define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
| 47 | # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
| 48 | # define ENABLE_RGB_MATRIX_RAINDROPS | ||
| 49 | # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
| 50 | # define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
| 51 | # define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
| 52 | # define ENABLE_RGB_MATRIX_HUE_WAVE | ||
| 53 | # define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
| 54 | // The PIXEL_FRACTAL effect does not work properly when the matrix layout is | ||
| 55 | // different from the physical layout; it also has problems when underglow | ||
| 56 | // LEDs are present, or when multiple LEDs are associated with the same key. | ||
| 57 | # undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
| 58 | |||
| 59 | // Framebuffer effects; can be enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS | ||
| 60 | // is defined. Both of these effects currently don't work properly when the | ||
| 61 | // key matrix does not match the physical layout, so they are disabled. | ||
| 62 | # undef ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
| 63 | # undef ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
| 64 | |||
| 65 | // Reactive effects; can be enabled only if at least one of | ||
| 66 | // RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined. | ||
| 67 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | ||
| 68 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE | ||
| 69 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | ||
| 70 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | ||
| 71 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | ||
| 72 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | ||
| 73 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
| 74 | # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
| 75 | # define ENABLE_RGB_MATRIX_SPLASH | ||
| 76 | # define ENABLE_RGB_MATRIX_MULTISPLASH | ||
| 77 | # define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
| 78 | # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
| 79 | |||
| 80 | #endif | ||
diff --git a/keyboards/winry/winry315/info.json b/keyboards/winry/winry315/info.json index 98bb376ba2..a7d71aca46 100644 --- a/keyboards/winry/winry315/info.json +++ b/keyboards/winry/winry315/info.json | |||
| @@ -9,7 +9,51 @@ | |||
| 9 | "vid": "0xF1F1" | 9 | "vid": "0xF1F1" |
| 10 | }, | 10 | }, |
| 11 | "rgb_matrix": { | 11 | "rgb_matrix": { |
| 12 | "driver": "ws2812" | 12 | "animations": { |
| 13 | "alphas_mods": true, | ||
| 14 | "gradient_up_down": true, | ||
| 15 | "gradient_left_right": true, | ||
| 16 | "breathing": true, | ||
| 17 | "band_sat": true, | ||
| 18 | "band_val": true, | ||
| 19 | "band_pinwheel_sat": true, | ||
| 20 | "band_pinwheel_val": true, | ||
| 21 | "band_spiral_sat": true, | ||
| 22 | "band_spiral_val": true, | ||
| 23 | "cycle_all": true, | ||
| 24 | "cycle_left_right": true, | ||
| 25 | "cycle_up_down": true, | ||
| 26 | "rainbow_moving_chevron": true, | ||
| 27 | "cycle_out_in": true, | ||
| 28 | "cycle_out_in_dual": true, | ||
| 29 | "cycle_pinwheel": true, | ||
| 30 | "cycle_spiral": true, | ||
| 31 | "dual_beacon": true, | ||
| 32 | "rainbow_beacon": true, | ||
| 33 | "rainbow_pinwheels": true, | ||
| 34 | "raindrops": true, | ||
| 35 | "jellybean_raindrops": true, | ||
| 36 | "hue_breathing": true, | ||
| 37 | "hue_pendulum": true, | ||
| 38 | "hue_wave": true, | ||
| 39 | "pixel_rain": true, | ||
| 40 | "solid_reactive_simple": true, | ||
| 41 | "solid_reactive": true, | ||
| 42 | "solid_reactive_wide": true, | ||
| 43 | "solid_reactive_multiwide": true, | ||
| 44 | "solid_reactive_cross": true, | ||
| 45 | "solid_reactive_multicross": true, | ||
| 46 | "solid_reactive_nexus": true, | ||
| 47 | "solid_reactive_multinexus": true, | ||
| 48 | "splash": true, | ||
| 49 | "multisplash": true, | ||
| 50 | "solid_splash": true, | ||
| 51 | "solid_multisplash": true | ||
| 52 | }, | ||
| 53 | "center_point": [35, 35], | ||
| 54 | "driver": "ws2812", | ||
| 55 | "max_brightness": 150, | ||
| 56 | "sleep": true | ||
| 13 | }, | 57 | }, |
| 14 | "rgblight": { | 58 | "rgblight": { |
| 15 | "saturation_steps": 8, | 59 | "saturation_steps": 8, |
