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/keysofkings | |
| 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/keysofkings')
| -rwxr-xr-x | keyboards/keysofkings/twokey/config.h | 12 | ||||
| -rw-r--r-- | keyboards/keysofkings/twokey/info.json | 14 |
2 files changed, 13 insertions, 13 deletions
diff --git a/keyboards/keysofkings/twokey/config.h b/keyboards/keysofkings/twokey/config.h index e28c779915..c2f47d2d8e 100755 --- a/keyboards/keysofkings/twokey/config.h +++ b/keyboards/keysofkings/twokey/config.h | |||
| @@ -22,20 +22,8 @@ | |||
| 22 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
| 23 | #define LOCKING_RESYNC_ENABLE | 23 | #define LOCKING_RESYNC_ENABLE |
| 24 | 24 | ||
| 25 | #ifdef RGBLIGHT_ENABLE | ||
| 26 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 27 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 28 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 29 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 30 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 31 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 32 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 33 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 34 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 35 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 36 | #define AUDIO_PIN B6 | 25 | #define AUDIO_PIN B6 |
| 37 | #define AUDIO_CLICKY | 26 | #define AUDIO_CLICKY |
| 38 | #endif | ||
| 39 | 27 | ||
| 40 | #ifdef AUDIO_ENABLE | 28 | #ifdef AUDIO_ENABLE |
| 41 | #define STARTUP_SONG SONG(MAJOR_SOUND) | 29 | #define STARTUP_SONG SONG(MAJOR_SOUND) |
diff --git a/keyboards/keysofkings/twokey/info.json b/keyboards/keysofkings/twokey/info.json index e6c75a2b41..e7564bf2a5 100644 --- a/keyboards/keysofkings/twokey/info.json +++ b/keyboards/keysofkings/twokey/info.json | |||
| @@ -12,7 +12,19 @@ | |||
| 12 | "hue_steps": 4, | 12 | "hue_steps": 4, |
| 13 | "saturation_steps": 4, | 13 | "saturation_steps": 4, |
| 14 | "brightness_steps": 4, | 14 | "brightness_steps": 4, |
| 15 | "led_count": 5 | 15 | "led_count": 5, |
| 16 | "animations": { | ||
| 17 | "breathing": true, | ||
| 18 | "rainbow_mood": true, | ||
| 19 | "rainbow_swirl": true, | ||
| 20 | "snake": true, | ||
| 21 | "knight": true, | ||
| 22 | "christmas": true, | ||
| 23 | "static_gradient": true, | ||
| 24 | "rgb_test": true, | ||
| 25 | "alternating": true, | ||
| 26 | "twinkle": true | ||
| 27 | } | ||
| 16 | }, | 28 | }, |
| 17 | "ws2812": { | 29 | "ws2812": { |
| 18 | "pin": "D3" | 30 | "pin": "D3" |
