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/nullbitsco | |
| 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/nullbitsco')
| -rw-r--r-- | keyboards/nullbitsco/nibble/config.h | 12 | ||||
| -rw-r--r-- | keyboards/nullbitsco/nibble/info.json | 14 | ||||
| -rw-r--r-- | keyboards/nullbitsco/snap/config.h | 12 | ||||
| -rw-r--r-- | keyboards/nullbitsco/snap/info.json | 14 | ||||
| -rw-r--r-- | keyboards/nullbitsco/tidbit/config.h | 12 | ||||
| -rw-r--r-- | keyboards/nullbitsco/tidbit/info.json | 14 |
6 files changed, 39 insertions, 39 deletions
diff --git a/keyboards/nullbitsco/nibble/config.h b/keyboards/nullbitsco/nibble/config.h index d33b8afb5e..d521e647cd 100644 --- a/keyboards/nullbitsco/nibble/config.h +++ b/keyboards/nullbitsco/nibble/config.h | |||
| @@ -37,15 +37,3 @@ | |||
| 37 | #define MATRIX_ROW_PINS { B1, B3, B2, B6, D4 } | 37 | #define MATRIX_ROW_PINS { B1, B3, B2, B6, D4 } |
| 38 | #define MATRIX_COL_MUX_PINS { F4, F5, F6, F7 } | 38 | #define MATRIX_COL_MUX_PINS { F4, F5, F6, F7 } |
| 39 | #define MATRIX_COL_PINS { } | 39 | #define MATRIX_COL_PINS { } |
| 40 | |||
| 41 | /* Optional SMT LED pins */ | ||
| 42 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 44 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 45 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 46 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 47 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 48 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 49 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 50 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 51 | #define RGBLIGHT_EFFECT_TWINKLE | ||
diff --git a/keyboards/nullbitsco/nibble/info.json b/keyboards/nullbitsco/nibble/info.json index cc66623b09..159e501218 100644 --- a/keyboards/nullbitsco/nibble/info.json +++ b/keyboards/nullbitsco/nibble/info.json | |||
| @@ -14,7 +14,19 @@ | |||
| 14 | }, | 14 | }, |
| 15 | "rgblight": { | 15 | "rgblight": { |
| 16 | "led_count": 10, | 16 | "led_count": 10, |
| 17 | "sleep": true | 17 | "sleep": true, |
| 18 | "animations": { | ||
| 19 | "breathing": true, | ||
| 20 | "rainbow_mood": true, | ||
| 21 | "rainbow_swirl": true, | ||
| 22 | "snake": true, | ||
| 23 | "knight": true, | ||
| 24 | "christmas": true, | ||
| 25 | "static_gradient": true, | ||
| 26 | "rgb_test": true, | ||
| 27 | "alternating": true, | ||
| 28 | "twinkle": true | ||
| 29 | } | ||
| 18 | }, | 30 | }, |
| 19 | "ws2812": { | 31 | "ws2812": { |
| 20 | "pin": "E6" | 32 | "pin": "E6" |
diff --git a/keyboards/nullbitsco/snap/config.h b/keyboards/nullbitsco/snap/config.h index e859b5b47d..d9fe16e285 100644 --- a/keyboards/nullbitsco/snap/config.h +++ b/keyboards/nullbitsco/snap/config.h | |||
| @@ -57,18 +57,6 @@ | |||
| 57 | #define MATRIX_COL_MUX_PINS_RIGHT { D7, C6, D4 } | 57 | #define MATRIX_COL_MUX_PINS_RIGHT { D7, C6, D4 } |
| 58 | #define MATRIX_EXT_PIN_RIGHT B6 | 58 | #define MATRIX_EXT_PIN_RIGHT B6 |
| 59 | 59 | ||
| 60 | /* Optional SMT LED pins */ | ||
| 61 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 62 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 63 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 64 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 65 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 66 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 67 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 68 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 69 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 70 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 71 | |||
| 72 | /* Optional speaker pin */ | 60 | /* Optional speaker pin */ |
| 73 | #define AUDIO_PIN B6 | 61 | #define AUDIO_PIN B6 |
| 74 | 62 | ||
diff --git a/keyboards/nullbitsco/snap/info.json b/keyboards/nullbitsco/snap/info.json index 97b06b5b34..f235fce511 100644 --- a/keyboards/nullbitsco/snap/info.json +++ b/keyboards/nullbitsco/snap/info.json | |||
| @@ -16,7 +16,19 @@ | |||
| 16 | "led_count": 10, | 16 | "led_count": 10, |
| 17 | "sleep": true, | 17 | "sleep": true, |
| 18 | "led_map": [8, 9, 0, 1, 2, 6, 7, 3, 4, 5], | 18 | "led_map": [8, 9, 0, 1, 2, 6, 7, 3, 4, 5], |
| 19 | "split_count": [5, 5] | 19 | "split_count": [5, 5], |
| 20 | "animations": { | ||
| 21 | "breathing": true, | ||
| 22 | "rainbow_mood": true, | ||
| 23 | "rainbow_swirl": true, | ||
| 24 | "snake": true, | ||
| 25 | "knight": true, | ||
| 26 | "christmas": true, | ||
| 27 | "static_gradient": true, | ||
| 28 | "rgb_test": true, | ||
| 29 | "alternating": true, | ||
| 30 | "twinkle": true | ||
| 31 | } | ||
| 20 | }, | 32 | }, |
| 21 | "split": { | 33 | "split": { |
| 22 | "encoder": { | 34 | "encoder": { |
diff --git a/keyboards/nullbitsco/tidbit/config.h b/keyboards/nullbitsco/tidbit/config.h index 56477ea5c4..48eecde3f6 100644 --- a/keyboards/nullbitsco/tidbit/config.h +++ b/keyboards/nullbitsco/tidbit/config.h | |||
| @@ -21,15 +21,3 @@ | |||
| 21 | 21 | ||
| 22 | // Workaround for freezing after MacOS sleep | 22 | // Workaround for freezing after MacOS sleep |
| 23 | #define USB_SUSPEND_WAKEUP_DELAY 200 | 23 | #define USB_SUSPEND_WAKEUP_DELAY 200 |
| 24 | |||
| 25 | /* Optional SMT LED pins */ | ||
| 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 | ||
diff --git a/keyboards/nullbitsco/tidbit/info.json b/keyboards/nullbitsco/tidbit/info.json index c31c52cd58..b8eaf60d89 100644 --- a/keyboards/nullbitsco/tidbit/info.json +++ b/keyboards/nullbitsco/tidbit/info.json | |||
| @@ -8,7 +8,19 @@ | |||
| 8 | "device_version": "0.0.1" | 8 | "device_version": "0.0.1" |
| 9 | }, | 9 | }, |
| 10 | "rgblight": { | 10 | "rgblight": { |
| 11 | "led_count": 8 | 11 | "led_count": 8, |
| 12 | "animations": { | ||
| 13 | "breathing": true, | ||
| 14 | "rainbow_mood": true, | ||
| 15 | "rainbow_swirl": true, | ||
| 16 | "snake": true, | ||
| 17 | "knight": true, | ||
| 18 | "christmas": true, | ||
| 19 | "static_gradient": true, | ||
| 20 | "rgb_test": true, | ||
| 21 | "alternating": true, | ||
| 22 | "twinkle": true | ||
| 23 | } | ||
| 12 | }, | 24 | }, |
| 13 | "ws2812": { | 25 | "ws2812": { |
| 14 | "pin": "B6" | 26 | "pin": "B6" |
