From a0c33bc744344f0654a7c229a291ea8379d347f6 Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Thu, 2 Jul 2026 20:05:50 +0900 Subject: [PATCH] fix thresholds being backwards --- wayvr/src/backend/openxr/input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wayvr/src/backend/openxr/input.rs b/wayvr/src/backend/openxr/input.rs index 72b67616..b9d3880a 100644 --- a/wayvr/src/backend/openxr/input.rs +++ b/wayvr/src/backend/openxr/input.rs @@ -139,9 +139,9 @@ impl CustomClickAction { pub fn state(&mut self, before: bool, state: &XrState) -> anyhow::Result { let threshold = if before { - self.threshold[1] - } else { self.threshold[0] + } else { + self.threshold[1] }; Ok(self.single.check(&state.session, threshold)?