mobility: add stub for touch (hlsdk-xash3d compatibility

This commit is contained in:
mittorn 2019-03-16 17:47:46 +07:00
parent 5fa9632ec0
commit 7382fc7c49
1 changed files with 6 additions and 1 deletions

View File

@ -95,6 +95,11 @@ static void *pfnGetNativeObject( const char *obj )
return Platform_GetNativeObject( obj );
}
void IN_TouchHideButtons(const char *str, qboolean hide)
{
}
static mobile_engfuncs_t gpMobileEngfuncs =
{
MOBILITY_API_VERSION,
@ -102,7 +107,7 @@ static mobile_engfuncs_t gpMobileEngfuncs =
pfnEnableTextInput,
NULL, // IN_TouchAddClientButton,
NULL, // IN_TouchAddDefaultButton,
NULL, // (void*)IN_TouchHideButtons,
IN_TouchHideButtons,
NULL, // IN_TouchRemoveButton,
NULL, // (void*)IN_TouchSetClientOnly,
NULL, // IN_TouchResetDefaultButtons,