added small animations

This commit is contained in:
2026-03-24 13:40:14 +00:00
parent 28ec041381
commit 314f193804
11 changed files with 278 additions and 123 deletions
@@ -1,12 +1,18 @@
use crate::model::Cartridge;
pub use crate::firmware::firmware_step_reset::ResetStep;
pub use crate::firmware::firmware_step_splash_screen::SplashScreenStep;
pub use crate::firmware::firmware_step_launch_hub::LaunchHubStep;
pub use crate::firmware::firmware_step_hub_home::HubHomeStep;
pub use crate::firmware::firmware_step_init_app::InitAppStep;
pub use crate::firmware::firmware_step_run_app::RunAppStep;
pub use crate::firmware::firmware_step_crash_screen::AppCrashesStep;
#[derive(Debug, Clone)]
pub enum FirmwareState {
Reset,
SplashScreen(u32),
LaunchHub,
HubHome,
LoadApp(Cartridge),
AppRunning,
AppCrashes(String),
Reset(ResetStep),
SplashScreen(SplashScreenStep),
LaunchHub(LaunchHubStep),
HubHome(HubHomeStep),
AppRunning(RunAppStep),
LoadApp(InitAppStep),
AppCrashes(AppCrashesStep),
}