mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-11-21 20:47:19 +01:00
Fixed size of rumble packet
This commit is contained in:
parent
f28c01a4fb
commit
aa7c3eae19
@ -182,7 +182,7 @@ HIDAPI_DriverPS5_OpenJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick)
|
||||
static int
|
||||
HIDAPI_DriverPS5_RumbleJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble)
|
||||
{
|
||||
Uint8 data[6];
|
||||
Uint8 data[5];
|
||||
|
||||
/* This works over USB, not over Bluetooth */
|
||||
SDL_zero(data);
|
||||
|
Loading…
Reference in New Issue
Block a user