mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Make central data structure blinking_pattern an own data type
This commit is contained in:
parent
4f0cb95266
commit
2071710a71
|
@ -154,11 +154,13 @@ static struct {
|
|||
.blinking_pattern = DEFAULT_BLINKING_PATTERN
|
||||
};
|
||||
|
||||
static struct {
|
||||
struct blinking_pattern {
|
||||
u8 key;
|
||||
u32 value;
|
||||
const char *const name;
|
||||
} blinking_patterns[] = {
|
||||
};
|
||||
|
||||
static struct blinking_pattern blinking_patterns[] = {
|
||||
{ .key = 0,.value = 0,.name = "CUSTOM"},
|
||||
{ .key = 1,.value = 0x1002a000,.name = "BREATHE"},
|
||||
{ .key = 2,.value = 0x33010000,.name = "CYCLE"},
|
||||
|
|
Loading…
Reference in a new issue