mirror of https://github.com/FWGS/xash3d-fwgs
engine: platform: sdl: use SDL joystick rumble for Platform_Vibrate
This commit is contained in:
parent
d7116afc92
commit
402a0f129d
|
@ -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…
Reference in New Issue