Added gyro support for the Flydigi Vader 3 Pro controller

This commit is contained in:
Sam Lantinga 2025-06-12 09:09:43 -07:00
parent 71f479b4aa
commit e18a6313de
1 changed files with 2 additions and 0 deletions

View File

@ -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");