projects
/
shermanaquarium
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed path to external icons
[shermanaquarium]
/
sherman-aquarium
/
shermans
/
leds.h
1
#ifndef LEDS_H
2
#define LEDS_H
3
4
#define LEDS_OFF 0
5
#define LEDS_NUMLOCK 1
6
#define LEDS_CAPSLOCK 2
7
#define LEDS_SCROLLOCK 3
8
9
10
#define LEDS_VIOLET 0
11
#define NUMLEDS 4
12
13
typedef struct
14
{
15
16
/* Lying or standing? */
17
int vert_horz;
18
int horz, vert;
19
int draw;
20
int alpha;
21
22
int leds_func[NUMLEDS], leds_colour[NUMLEDS], leds_show_off[NUMLEDS];
23
24
25
} Leds_settings;
26
27
void leds_init(void);
28
void leds_update(int);
29
void leds_exit(void);
30
Leds_settings *leds_get_settings_ptr(void);
31
#endif