You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
471 B

// Copyright 2022 Andrew Dunai (@and3rson)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "quantum.h"
#include "config.h"
#include "rgblight.h"
typedef LED_TYPE (*animFunc_t)(LED_TYPE, LED_TYPE, float, uint8_t);
LED_TYPE swimIn(LED_TYPE, LED_TYPE, float, uint8_t);
LED_TYPE swimOut(LED_TYPE, LED_TYPE, float, uint8_t);
void smoothled_set(uint32_t color, uint32_t newDuration, animFunc_t newAnimFunc);
void smoothled_process(void);
void smoothled_render(void);