From c6316b4e8b1ee6aaadb6c242e442dd5d8fff6570 Mon Sep 17 00:00:00 2001 From: Nova Date: Wed, 26 Oct 2022 05:19:20 -0400 Subject: [PATCH] feat: terrible hack for moses --- src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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),