From e18a6313de793dc6dc3242417beb3f34c85e6fed Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 12 Jun 2025 09:09:43 -0700 Subject: [PATCH] Added gyro support for the Flydigi Vader 3 Pro controller --- src/joystick/hidapi/SDL_hidapi_flydigi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/joystick/hidapi/SDL_hidapi_flydigi.c b/src/joystick/hidapi/SDL_hidapi_flydigi.c index fb3fa93b7b..29929f80c7 100644 --- a/src/joystick/hidapi/SDL_hidapi_flydigi.c +++ b/src/joystick/hidapi/SDL_hidapi_flydigi.c @@ -195,6 +195,8 @@ static void UpdateDeviceIdentity(SDL_HIDAPI_Device *device) case 81: HIDAPI_SetDeviceName(device, "Flydigi Vader 3 Pro"); ctx->has_cz = true; + ctx->sensors_supported = true; + ctx->accelScale = SDL_STANDARD_GRAVITY / 256.0f; break; case 85: HIDAPI_SetDeviceName(device, "Flydigi Vader 4 Pro");