mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-28 15:02:13 +00:00
reduce motion trigger threshold slightly
This commit is contained in:
parent
b669eb1ad9
commit
ad90a37aac
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