Added preset file saving and tests

This commit is contained in:
vextrixes committed 2026-07-08 00:34:25 +02:00
1 parent 17a8bbe42f
commit 77f7b1abfe
6 files changed
+394

No files matched your search

+6
View File
@@ -2,6 +2,7 @@ mod color;
mod hid_wrapper;
mod keymap;
mod rgb_controller;
mod tests;
pub use color::Color;
pub use hid_wrapper::HidWrapperError;
@@ -13,5 +14,10 @@ pub use rgb_controller::effect_info::{
pub use rgb_controller::effects::Effects;
pub use rgb_controller::preset::Preset;
#[cfg(feature = "preset_file_saving")]
mod save_preset;
#[cfg(feature = "preset_file_saving")]
pub use save_preset::{LoadPresetError, SavePresetError};
#[cfg(feature = "access_hid_wrapper")]
pub use hid_wrapper::HidWrapper;