Browse Source

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

pull/2/head
Alibek Omarov 1 year ago
parent
commit
402a0f129d
  1. 3
      engine/platform/sdl/in_sdl.c

3
engine/platform/sdl/in_sdl.c

@ -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 );
} }
/* /*

Loading…
Cancel
Save