aboutsummaryrefslogtreecommitdiff
path: root/control/state.h
blob: fab1e126a3d8aec22ac34ab04dd60d05338b75be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef _STATE_H_
#define _STATE_H_

enum led_mode {
	MODE_SOLID_WARM,
	MODE_SOLID_RED,
	MODE_SOLID_GREEN,
	MODE_SOLID_BLUE,
	MODE_SOLID_YELLOW,
	MODE_RAINBOW,
};

extern enum led_mode mode;

extern const unsigned brightness_max;
extern unsigned brightness;

extern int enabled;

enum state {
	STATE_DEFAULT,
	STATE_COLOR_SELECT,
	STATE_BRIGHTNESS_SELECT,
};

extern enum state state;



#endif