SDL: Use proper polar direction when creating FF_RUMBLE effect (10c9f)

From 10c9fbf4114eacc2c863efeeb98b5eed28982a0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomasz=20Paku=C5=82a?= <[EMAIL REDACTED]>
Date: Tue, 21 Jan 2025 01:43:53 +0100
Subject: [PATCH] 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.
---
 src/haptic/linux/SDL_syshaptic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/haptic/linux/SDL_syshaptic.c b/src/haptic/linux/SDL_syshaptic.c
index c9775d2eba0a6..842f577cfa82f 100644
--- a/src/haptic/linux/SDL_syshaptic.c
+++ b/src/haptic/linux/SDL_syshaptic.c
@@ -892,7 +892,7 @@ static bool SDL_SYS_ToFFEffect(struct ff_effect *dest, const SDL_HapticEffect *s
 
         // Header
         dest->type = FF_RUMBLE;
-        dest->direction = 0;
+        dest->direction = 0x4000;
 
         // Replay
         dest->replay.length = (leftright->length == SDL_HAPTIC_INFINITY) ? 0 : CLAMP(leftright->length);