Skip to content

Commit e18a631

Browse files
committed
Added gyro support for the Flydigi Vader 3 Pro controller
1 parent 71f479b commit e18a631

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/joystick/hidapi/SDL_hidapi_flydigi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ static void UpdateDeviceIdentity(SDL_HIDAPI_Device *device)
195195
case 81:
196196
HIDAPI_SetDeviceName(device, "Flydigi Vader 3 Pro");
197197
ctx->has_cz = true;
198+
ctx->sensors_supported = true;
199+
ctx->accelScale = SDL_STANDARD_GRAVITY / 256.0f;
198200
break;
199201
case 85:
200202
HIDAPI_SetDeviceName(device, "Flydigi Vader 4 Pro");

0 commit comments

Comments
 (0)