summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/d48/keymaps/anderson/lightmode.h
blob: 0c81e476bbe19fd3d2627084b3659becaca45b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "smoothled.h"
#include "dmc12.h"
#include "quantum.h"

/* Light modes */
enum light_mode_enum { SMOOTHLED, DMC12, LIGHT_MODE_SIZE };
typedef enum light_mode_enum light_mode_t;

void set_light_mode(light_mode_t value, uint32_t color);
void process_light_mode(void);
void update_light_mode(uint32_t color);
void next_light_mode(uint32_t color);