Fix: For anime look for usbraw device before hidraw device

Closes #387
This commit is contained in:
Luke D. Jones
2023-08-02 13:53:15 +12:00
parent 11483b28a6
commit 3ec37a4dac
3 changed files with 22 additions and 8 deletions

View File

@@ -43,15 +43,27 @@ pub enum AnimeActions {
pub struct Builtins {
#[options(help = "print help message")]
pub help: bool,
#[options(meta = "", help = " <GlitchConstruction, StaticEmergence>")]
#[options(
meta = "",
help = "Default is used if unspecified, <default:GlitchConstruction, StaticEmergence>"
)]
pub boot: AnimBooting,
#[options(meta = "", help = "<BinaryBannerScroll, RogLogoGlitch>")]
#[options(
meta = "",
help = "Default is used if unspecified, <default:BinaryBannerScroll, RogLogoGlitch>"
)]
pub awake: AnimAwake,
#[options(meta = "", help = "<BannerSwipe, Starfield>")]
#[options(
meta = "",
help = "Default is used if unspecified, <default:BannerSwipe, Starfield>"
)]
pub sleep: AnimSleeping,
#[options(meta = "", help = "<GlitchOut, SeeYa>")]
#[options(
meta = "",
help = "Default is used if unspecified, <default:GlitchOut, SeeYa>"
)]
pub shutdown: AnimShutdown,
#[options(meta = "", help = "set/apply the animations")]
#[options(meta = "", help = "set/apply the animations <true/false>")]
pub set: Option<bool>,
}