mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-15 02:18:35 -07:00
32 lines
571 B
C
32 lines
571 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
typedef struct {
|
|
uint8_t version;
|
|
bool rgb_mod_installed;
|
|
|
|
uint8_t static_color_index;
|
|
uint8_t custom_red;
|
|
uint8_t custom_green;
|
|
uint8_t custom_blue;
|
|
float brightness;
|
|
|
|
uint32_t rainbow_mode;
|
|
uint32_t rainbow_speed_ms;
|
|
uint16_t rainbow_step;
|
|
|
|
} RGBBacklightSettings;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void rgb_backlight_settings_load(RGBBacklightSettings* settings);
|
|
void rgb_backlight_settings_save(const RGBBacklightSettings* settings);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|