Added gyro support for the Flydigi Vader 3 Pro controller

This commit is contained in:
Sam Lantinga committed 2025-06-12 09:10:07 -07:00
1 parent 71f479b4aa
commit e18a6313de
1 file changed
+2
+2
View File
@@ -195,6 +195,8 @@ static void UpdateDeviceIdentity(SDL_HIDAPI_Device *device)
case 81: case 81:
HIDAPI_SetDeviceName(device, "Flydigi Vader 3 Pro"); HIDAPI_SetDeviceName(device, "Flydigi Vader 3 Pro");
ctx->has_cz = true; ctx->has_cz = true;
ctx->sensors_supported = true;
ctx->accelScale = SDL_STANDARD_GRAVITY / 256.0f;
break; break;
case 85: case 85:
HIDAPI_SetDeviceName(device, "Flydigi Vader 4 Pro"); HIDAPI_SetDeviceName(device, "Flydigi Vader 4 Pro");