Skip to content

Commit

Permalink
More controller drivers support CARTESIAN coordinates.
Browse files Browse the repository at this point in the history
This fixes rumble on the Saitek Cyborg V.3 Rumble Pad
  • Loading branch information
slouken committed Jul 12, 2018
1 parent ff8c953 commit df0d3f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/haptic/SDL_haptic.c
Expand Up @@ -765,6 +765,7 @@ SDL_HapticRumbleInit(SDL_Haptic * haptic)
SDL_zerop(efx);
if (haptic->supported & SDL_HAPTIC_SINE) {
efx->type = SDL_HAPTIC_SINE;
efx->periodic.direction.type = SDL_HAPTIC_CARTESIAN;
efx->periodic.period = 1000;
efx->periodic.magnitude = 0x4000;
efx->periodic.length = 5000;
Expand Down

0 comments on commit df0d3f1

Please sign in to comment.