engine: platform: make most input platform functions optional, patch fbdev/evdev to compile

This commit is contained in:
Alibek Omarov
2025-05-11 16:14:36 +03:00
parent 8209a8a681
commit ffc8bf30d7
7 changed files with 54 additions and 126 deletions

View File

@@ -80,27 +80,11 @@ void Platform_RunEvents( void )
}
void GAME_EXPORT Platform_GetMousePos( int *x, int *y )
{
*x = *y = 0;
}
void GAME_EXPORT Platform_SetMousePos(int x, int y)
{
}
void Platform_EnableTextInput( qboolean enable )
{
keystate.chars = enable;
}
void Platform_PreCreateMove( void )
{
}
void Platform_MouseMove( float *x, float *y )
{
static int lx,ly;