mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-25 05:21:00 +00:00
reduce motion trigger threshold slightly
This commit is contained in:
parent
a1b76ee5cb
commit
3fe778ea7f
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue