mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Groundwork for 'advanced' aura modes Add single zone + Doom light flash Fix mocking for ROGCC Better prepare & change to mapping of keyboard layouts to models and functions Refactor and begin using new key layout stuff Enable first arg to rogcc to set layout in mocking feature mode Complete refactor of key layouts, and to RON serde
20 lines
593 B
Rust
20 lines
593 B
Rust
use gumdrop::Options;
|
|
|
|
#[derive(Default, Options)]
|
|
pub struct CliStart {
|
|
#[options(help_flag, help = "print help message")]
|
|
pub help: bool,
|
|
#[options(help = "show program version number")]
|
|
pub version: bool,
|
|
#[options(
|
|
meta = "",
|
|
help = "set board name for testing, this will make ROGCC show only the keyboard page"
|
|
)]
|
|
pub board_name: Option<String>,
|
|
#[options(
|
|
help = "put ROGCC in layout viewing mode - this is helpful for finding existing layouts \
|
|
that might match your laptop"
|
|
)]
|
|
pub layout_viewing: bool,
|
|
}
|