FastLED
3.9.7
Loading...
Searching...
No Matches
ui_state.h
1
2
#pragma once
3
4
#include <Arduino.h>
5
#include "buttons.h"
6
7
8
extern
ColorSelector
color_selector;
9
extern
CountingButton
vis_selector;
10
11
struct
ui_state
{
12
ui_state
() { memset(
this
, 0,
sizeof
(*
this
)); }
13
int
which_visualizer;
14
int
color_scheme;
15
//float color_wheel_pos;
16
//float velocity_bias_pos; // default to 1.0f for buttons missing velocity.
17
};
18
19
void
ui_init();
20
ui_state
ui_update(uint32_t now_ms, uint32_t delta_ms);
21
ColorSelector
Definition
buttons.h:147
CountingButton
Definition
buttons.h:101
ui_state
Definition
ui_state.h:11
examples
LuminescentGrand
arduino
ui_state.h
Generated on Fri Dec 20 2024 20:54:48 for FastLED by
1.11.0