add more feature creep (set colors)

This commit is contained in:
2026-05-25 15:28:26 +00:00
parent 920600b294
commit da8aec78a8
2 changed files with 54 additions and 2 deletions

View File

@@ -6,12 +6,29 @@
#define AIO_USB_VID 0x1b1c
#define AIO_USB_PID 0x0c13
#define AIO_COLOR_CYAN { 0, 255, 255 }
#define AIO_COLOR_WHITE { 0, 255, 255 }
#define AIO_COLOR_OFF { 0, 0, 0 }
enum aio_pump_mode_t : uint8_t {
QUIET,
BALANCED,
EXTREME
};
enum aio_color_mode_t : uint8_t {
AIO_COLOR_PULSE,
AIO_COLOR_SHIFT,
AIO_COLOR_FIXED,
AIO_COLOR_BLINKING
};
struct rgb_t {
uint8_t r;
uint8_t g;
uint8_t b;
};
struct aio_t{
libusb_device_handle* handle;
enum aio_pump_mode_t pump_mode;