2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-24 18:59:50 +01:00

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

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,