You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
revert: restore configFeedbackLength for constant/damper/inertia effects
SDL_HAPTIC_INFINITY breaks FFB on some drivers - RunEffect on an
already-running infinite effect is ignored. Reverting to the original
finite duration which gets re-triggered each game loop cycle.
tempEffect.condition.direction.dir[1] = 1; //Y Position
1463
1463
SHORT minForce = (SHORT)(strength > 0.001 ? (configMinForce / 100.0 * 32767.0) : 0); // strength is a double so we do an epsilon check of 0.001 instead of > 0.
tempEffect.condition.direction.dir[0] = 1; // not used
1547
1547
tempEffect.condition.direction.dir[1] = 0; //Y Position
1548
1548
SHORT minForce = (SHORT)(strength > 0.001 ? (configMinForce / 100.0 * 32767.0) : 0); // strength is a double so we do an epsilon check of 0.001 instead of > 0.
0 commit comments