diff options
| author | Ryan <fauxpark@gmail.com> | 2023-08-24 07:11:39 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-23 22:11:39 +0100 |
| commit | 023d644bb69748d97feb49091e2c24f3fcd3da11 (patch) | |
| tree | 1f8039d1fdf8408487eb5db0bee542e6f7d08af3 /keyboards/newgame40 | |
| parent | 79491e35e1c2abd30620dec21d6073515065cc1a (diff) | |
Move RGBLight animations to data driven (#21635)
* Move RGBLight animations to data driven, 0-9
* Move RGBLight animations to data driven, A
* Move RGBLight animations to data driven, B
* Move RGBLight animations to data driven, C
* Move RGBLight animations to data driven, D
* Move RGBLight animations to data driven, E
* Move RGBLight animations to data driven, F
* Move RGBLight animations to data driven, G
* Move RGBLight animations to data driven, H
* Move RGBLight animations to data driven, handwired
* Move RGBLight animations to data driven, I
* Move RGBLight animations to data driven, J
* Move RGBLight animations to data driven, K
* Move RGBLight animations to data driven, L
* Move RGBLight animations to data driven, M
* Move RGBLight animations to data driven, N
* Move RGBLight animations to data driven, O
* Move RGBLight animations to data driven, P
* Move RGBLight animations to data driven, Q
* Move RGBLight animations to data driven, R
* Move RGBLight animations to data driven, S
* Move RGBLight animations to data driven, T
* Move RGBLight animations to data driven, U
* Move RGBLight animations to data driven, V
* Move RGBLight animations to data driven, W
* Move RGBLight animations to data driven, X
* Move RGBLight animations to data driven, Y
* Move RGBLight animations to data driven, Z
* Fix incorrect placement
* Fix build failures and mismatches
Diffstat (limited to 'keyboards/newgame40')
| -rw-r--r-- | keyboards/newgame40/config.h | 12 | ||||
| -rw-r--r-- | keyboards/newgame40/info.json | 14 |
2 files changed, 13 insertions, 13 deletions
diff --git a/keyboards/newgame40/config.h b/keyboards/newgame40/config.h index e599136062..13a3919745 100644 --- a/keyboards/newgame40/config.h +++ b/keyboards/newgame40/config.h | |||
| @@ -17,18 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* ws2812 RGB LED */ | ||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 24 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 25 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 26 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 27 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 31 | |||
| 32 | #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE) | 20 | #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE) |
| 33 | #define USB_MAX_POWER_CONSUMPTION 400 | 21 | #define USB_MAX_POWER_CONSUMPTION 400 |
| 34 | #else | 22 | #else |
diff --git a/keyboards/newgame40/info.json b/keyboards/newgame40/info.json index fd33fd1822..809d685ed1 100644 --- a/keyboards/newgame40/info.json +++ b/keyboards/newgame40/info.json | |||
| @@ -15,7 +15,19 @@ | |||
| 15 | "diode_direction": "COL2ROW", | 15 | "diode_direction": "COL2ROW", |
| 16 | "rgblight": { | 16 | "rgblight": { |
| 17 | "hue_steps": 10, | 17 | "hue_steps": 10, |
| 18 | "led_count": 25 | 18 | "led_count": 25, |
| 19 | "animations": { | ||
| 20 | "breathing": true, | ||
| 21 | "rainbow_mood": true, | ||
| 22 | "rainbow_swirl": true, | ||
| 23 | "snake": true, | ||
| 24 | "knight": true, | ||
| 25 | "christmas": true, | ||
| 26 | "static_gradient": true, | ||
| 27 | "rgb_test": true, | ||
| 28 | "alternating": true, | ||
| 29 | "twinkle": true | ||
| 30 | } | ||
| 19 | }, | 31 | }, |
| 20 | "ws2812": { | 32 | "ws2812": { |
| 21 | "pin": "F6" | 33 | "pin": "F6" |
