15 lines
262 B
C

#pragma once
#include <sys/types.h>
typedef struct {
float pots[16];
bool buttons[4];
} input_t;
extern bool is_toggle[4];
static inline void set_toggle_button(uint8_t index, bool toggle) { is_toggle[index] = toggle; }
void update_inputs(input_t* input);