Add capsl+b and capsl+space as well as support for massdrop ctrl

This commit is contained in:
2019-03-25 22:51:28 +01:00
parent cee7594bcd
commit 0257bd8ee6
8 changed files with 247 additions and 12 deletions
@@ -88,11 +88,23 @@ led_setup_t leds_rainbow_s[] = {
{.hs = 0, .he = 16.67, .rs = 255, .re = 255, .gs = 0, .ge = 255, .bs = 0, .be = 0, .ef = EF_OVER | EF_SCR_R}, {.hs = 16.67, .he = 33.33, .rs = 255, .re = 0, .gs = 255, .ge = 255, .bs = 0, .be = 0, .ef = EF_OVER | EF_SCR_R}, {.hs = 33.33, .he = 50, .rs = 0, .re = 0, .gs = 255, .ge = 255, .bs = 0, .be = 255, .ef = EF_OVER | EF_SCR_R}, {.hs = 50, .he = 66.67, .rs = 0, .re = 0, .gs = 255, .ge = 0, .bs = 255, .be = 255, .ef = EF_OVER | EF_SCR_R}, {.hs = 66.67, .he = 83.33, .rs = 0, .re = 255, .gs = 0, .ge = 0, .bs = 255, .be = 255, .ef = EF_OVER | EF_SCR_R}, {.hs = 83.33, .he = 100, .rs = 255, .re = 255, .gs = 0, .ge = 0, .bs = 255, .be = 0, .ef = EF_OVER | EF_SCR_R}, {.end = 1},
};
// Add new LED animations here using one from above as example
// The last entry must be { .end = 1 }
// Add the new animation name to the list below following its format
//Add new LED animations here using one from above as example
//The last entry must be { .end = 1 }
//Add the new animation name to the list below following its format
void *led_setups[] = {leds_rainbow_s, leds_rainbow_ns, leds_teal_salmon, leds_yellow, leds_red, leds_green, leds_blue, leds_white, leds_white_with_red_stripe, leds_black_with_red_stripe, leds_off};
void *led_setups[] = {
leds_off,
leds_white,
leds_rainbow_s,
/* leds_rainbow_ns, */
leds_teal_salmon,
leds_yellow,
/* leds_red, */
leds_green,
/* leds_blue, */
leds_white_with_red_stripe,
leds_black_with_red_stripe,
};
const uint8_t led_setups_count = sizeof(led_setups) / sizeof(led_setups[0]);