Merge branch 'asere/anime_on_off' into 'next'

AniMe: adding --on and --off options to turn on/off (and accept/reject write requests)

See merge request asus-linux/asus-nb-ctrl!11
This commit is contained in:
Luke Jones
2020-10-25 01:14:12 +00:00
5 changed files with 100 additions and 31 deletions
+3 -4
View File
@@ -231,8 +231,7 @@ impl Default for SetAuraBuiltin {
}
}
#[derive(Debug, Options)]
#[derive(Options)]
pub struct AniMeLeds {
#[options(help = "print help message")]
help: bool,
@@ -248,8 +247,8 @@ impl AniMeLeds {
}
}
#[derive(Debug, Options)]
#[derive(Options)]
pub enum AniMeActions {
#[options(help = "change all leds brightness")]
Leds(AniMeLeds)
Leds(AniMeLeds),
}