engine: platform: sdl: use SDL joystick rumble for Platform_Vibrate

This commit is contained in:
Alibek Omarov 2023-02-03 08:50:41 +03:00
parent d7116afc92
commit 402a0f129d

View file

@ -122,7 +122,8 @@ Platform_Vibrate
*/ */
void Platform_Vibrate( float time, char flags ) void Platform_Vibrate( float time, char flags )
{ {
// stub if( g_joy )
SDL_JoystickRumble( g_joy, 0xFFFF, 0xFFFF, time * 1000.0f );
} }
/* /*