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
8extern ColorSelector color_selector;
9extern CountingButton vis_selector;
10
11struct 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
19void ui_init();
20ui_state ui_update(uint32_t now_ms, uint32_t delta_ms);
21