engine: platform: sdl: use SDL joystick rumble for Platform_Vibrate
This commit is contained in:
parent
d7116afc92
commit
402a0f129d
1 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,8 @@ Platform_Vibrate
|
|||
*/
|
||||
void Platform_Vibrate( float time, char flags )
|
||||
{
|
||||
// stub
|
||||
if( g_joy )
|
||||
SDL_JoystickRumble( g_joy, 0xFFFF, 0xFFFF, time * 1000.0f );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue