FastLED 3.9.15
Loading...
Searching...
No Matches
ui_state.h
Go to the documentation of this file.
1
2#pragma once
3
4#include <Arduino.h>
5#include "buttons.h"
6
7
10
11struct ui_state {
12 ui_state() { memset(this, 0, sizeof(*this)); }
15 //float color_wheel_pos;
16 //float velocity_bias_pos; // default to 1.0f for buttons missing velocity.
17};
18
19void ui_init();
20ui_state ui_update(uint32_t now_ms, uint32_t delta_ms);
21
int which_visualizer
Definition ui_state.h:13
int color_scheme
Definition ui_state.h:14
ui_state()
Definition ui_state.h:12
ui_state ui_update(uint32_t now_ms, uint32_t delta_ms)
void ui_init()
ColorSelector color_selector
CountingButton vis_selector