1
0
mirror of synced 2025-02-21 12:29:43 +01:00

Removed stop previous effect if not completed

Makes my wheel un-usuable with Constant Effect. Wheel just hums very loudly instead while trying to perform new effects etc
This commit is contained in:
Aaron M 2019-10-28 18:00:52 +13:00
parent 5e63272d19
commit 268d215366

View File

@ -1092,11 +1092,6 @@ void TriggerConstantEffect(int direction, double strength)
return;
}
// stop previous effect if not completed
if (configResetFeedback) {
SDL_HapticStopEffect(haptic, effects.effect_constant_id);
}
SDL_HapticEffect tempEffect;
SDL_memset(&tempEffect, 0, sizeof(SDL_HapticEffect));
tempEffect.type = SDL_HAPTIC_CONSTANT;