,
/// A display handle JSON returned by DisplayList or DisplayCreate
- target_display: String,
- args: String,
+ target_display: String,
+ args: String,
},
/// Trigger haptics on the user's controller
Haptics {
#[arg(short, long, default_value = "0.25")]
- intensity: f32,
- #[arg(short, long , default_value = "0.1")]
- duration: f32,
+ intensity: f32,
#[arg(short, long, default_value = "0.1")]
- frequency: f32,
+ duration: f32,
+ #[arg(short, long, default_value = "0.1")]
+ frequency: f32,
},
/// Apply a modification to a panel element
PanelModify {
/// The name of the overlay (XML file name without extension)
- overlay: String,
+ overlay: String,
/// The id of the element to modify, as set in the XML
- element: String,
+ element: String,
/// Command to execute
#[command(subcommand)]
- command: SubcommandPanelModify,
- }
-
+ command: SubcommandPanelModify,
+ },
}
#[derive(clap::Parser, Debug)]
@@ -271,11 +320,7 @@ enum SubcommandPanelModify {
absolute_path: String,
},
/// Set the visibility of a , ,