engine: drop raw SDL joystick API, always use GameController instead. Implement actually working rumble, ensure we're freeing up all resources related to gamepads

This commit is contained in:
Alibek Omarov
2025-01-31 17:49:07 +03:00
parent bff7299f9b
commit b16037eabf
11 changed files with 313 additions and 418 deletions

View File

@@ -281,13 +281,19 @@ void GAME_EXPORT Platform_SetMousePos(int x, int y)
}
void Platform_Vibrate(float life, char flags)
void Platform_Vibrate( float life, char flags )
{
}
int Platform_JoyInit( int numjoy )
int Platform_JoyInit( void )
{
return 0;
}
void Platform_JoyShutdown( void )
{
}
#endif