From ad90a37aac57e62177276d963139196961505967 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 12 Nov 2022 18:44:50 +0000 Subject: [PATCH] reduce motion trigger threshold slightly --- Projects/Android/jni/JKVR/VrInputDefault.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/Android/jni/JKVR/VrInputDefault.cpp b/Projects/Android/jni/JKVR/VrInputDefault.cpp index ed87731..883660f 100644 --- a/Projects/Android/jni/JKVR/VrInputDefault.cpp +++ b/Projects/Android/jni/JKVR/VrInputDefault.cpp @@ -791,7 +791,7 @@ void HandleInput_Default( ovrInputStateGamepad *pFootTrackingNew, ovrInputStateG VectorSubtract(vr.secondaryVelocityTriggerLocation, vr.hmdposition, start); VectorSubtract(vr.offhandposition, vr.hmdposition, end); float deltaLength = VectorLength(end) - VectorLength(start); - if (fabs(deltaLength) > 0.25f) { + if (fabs(deltaLength) > 0.2f) { if (deltaLength < 0) { sendButtonActionSimple(va("useGivenForce %i", FP_PULL)); } else {