diff --git a/src/main.rs b/src/main.rs index 1687e40..13294a3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,6 +33,10 @@ struct CliArgs { /// Run Stardust XR as an overlay with given priority #[clap(id = "PRIORITY", short = 'o', long = "overlay", action)] overlay_priority: Option, + + /// Don't create a tip input for controller because SOME RUNTIMES will lie + #[clap(long, action)] + disable_controller: bool, } fn main() -> Result<()> { @@ -80,7 +84,7 @@ fn main() -> Result<()> { let mouse_pointer = cli_args.flatscreen.then(MousePointer::new); let mut hands = (!cli_args.flatscreen).then(|| [SkHand::new(Handed::Left), SkHand::new(Handed::Right)]); - let mut controllers = (!cli_args.flatscreen).then(|| { + let mut controllers = (!cli_args.flatscreen && !cli_args.disable_controller).then(|| { [ SkController::new(Handed::Left), SkController::new(Handed::Right),