Use proper polar direction when creating FF_RUMBLE effect

Uses proper polar direction of 90 degrees. Previous value probably came from mistakenly using spherical system default.

(cherry picked from commit 5bf8955b25)
This commit is contained in:
Tomasz Pakuła authored and Sam Lantinga committed 2025-01-20 16:53:23 -08:00
1 parent 72a9e5edad
commit ba7ec31927
1 file changed
+1 -1
+1 -1
View File
@@ -878,7 +878,7 @@ static int SDL_SYS_ToFFEffect(struct ff_effect *dest, SDL_HapticEffect *src)
/* Header */
dest->type = FF_RUMBLE;
dest->direction = 0;
dest->direction = 0x4000;
/* Replay */
dest->replay.length = (leftright->length == SDL_HAPTIC_INFINITY) ? 0 : CLAMP(leftright->length);