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:50:19 +03:00
parent bff7299f9b
commit b16037eabf
11 changed files with 313 additions and 418 deletions
+2 -1
View File
@@ -209,7 +209,8 @@ void Platform_Vibrate( float life, char flags );
==============================================================================
*/
// Gamepad support
int Platform_JoyInit( int numjoy ); // returns number of connected gamepads, negative if error
int Platform_JoyInit( void ); // returns number of connected gamepads, negative if error
void Platform_JoyShutdown( void );
// Text input
void Platform_EnableTextInput( qboolean enable );
key_modifier_t Platform_GetKeyModifiers( void );