diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2016-10-10 00:19:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-10 00:19:34 -0400 |
| commit | 4859be084d7886885a3e0af00343836b5607991e (patch) | |
| tree | 3046ff472e71613698558b4111ff0ed92fb78858 /quantum/rgblight.c | |
| parent | a9df99b81c787862dc3fa11bd854fe39e704da81 (diff) | |
| parent | db4dce731216cb6cdac65cb528329fd0caca5aa3 (diff) | |
| download | qmk_firmware-4859be084d7886885a3e0af00343836b5607991e.tar.gz qmk_firmware-4859be084d7886885a3e0af00343836b5607991e.zip | |
Merge pull request #813 from fredizzimo/add_cluecard_rgb_effects
Add a Cluecard keymap for testing the RGB effects
Diffstat (limited to 'quantum/rgblight.c')
| -rw-r--r-- | quantum/rgblight.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index f82e3ec55..9eac87a20 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c | |||
| @@ -42,10 +42,16 @@ const uint8_t RGBLED_BREATHING_TABLE[] PROGMEM = { | |||
| 42 | 37, 35, 33, 31, 29, 27, 25, 23, 21, 20, 18, 17, 15, 14, 12, 11, | 42 | 37, 35, 33, 31, 29, 27, 25, 23, 21, 20, 18, 17, 15, 14, 12, 11, |
| 43 | 10, 9, 7, 6, 5, 5, 4, 3, 2, 2, 1, 1, 1, 0, 0, 0 | 43 | 10, 9, 7, 6, 5, 5, 4, 3, 2, 2, 1, 1, 1, 0, 0, 0 |
| 44 | }; | 44 | }; |
| 45 | |||
| 46 | __attribute__ ((weak)) | ||
| 45 | const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5}; | 47 | const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5}; |
| 48 | __attribute__ ((weak)) | ||
| 46 | const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[] PROGMEM = {120, 60, 30}; | 49 | const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[] PROGMEM = {120, 60, 30}; |
| 50 | __attribute__ ((weak)) | ||
| 47 | const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[] PROGMEM = {100, 50, 20}; | 51 | const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[] PROGMEM = {100, 50, 20}; |
| 52 | __attribute__ ((weak)) | ||
| 48 | const uint8_t RGBLED_SNAKE_INTERVALS[] PROGMEM = {100, 50, 20}; | 53 | const uint8_t RGBLED_SNAKE_INTERVALS[] PROGMEM = {100, 50, 20}; |
| 54 | __attribute__ ((weak)) | ||
| 49 | const uint8_t RGBLED_KNIGHT_INTERVALS[] PROGMEM = {100, 50, 20}; | 55 | const uint8_t RGBLED_KNIGHT_INTERVALS[] PROGMEM = {100, 50, 20}; |
| 50 | 56 | ||
| 51 | rgblight_config_t rgblight_config; | 57 | rgblight_config_t rgblight_config; |
