engine: implement basic gamepad gyroscope calibration

Called on game controller becoming active or by user request.
Exposes current calibration state by read-only console variable.
This commit is contained in:
Alibek Omarov
2025-02-03 13:14:51 +03:00
parent 6c91fdb0cd
commit 687fb0123f
6 changed files with 224 additions and 56 deletions
-10
View File
@@ -91,16 +91,6 @@ void GAME_EXPORT Platform_SetMousePos(int x, int y)
}
int Platform_JoyInit( void )
{
return 0;
}
void Platform_JoyShutdown( void )
{
}
void Platform_EnableTextInput( qboolean enable )
{
keystate.chars = enable;