mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-30 08:44:31 +00:00
mobility: add stub for touch (hlsdk-xash3d compatibility
This commit is contained in:
parent
5fa9632ec0
commit
7382fc7c49
@ -95,6 +95,11 @@ static void *pfnGetNativeObject( const char *obj )
|
|||||||
return Platform_GetNativeObject( obj );
|
return Platform_GetNativeObject( obj );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void IN_TouchHideButtons(const char *str, qboolean hide)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
static mobile_engfuncs_t gpMobileEngfuncs =
|
static mobile_engfuncs_t gpMobileEngfuncs =
|
||||||
{
|
{
|
||||||
MOBILITY_API_VERSION,
|
MOBILITY_API_VERSION,
|
||||||
@ -102,7 +107,7 @@ static mobile_engfuncs_t gpMobileEngfuncs =
|
|||||||
pfnEnableTextInput,
|
pfnEnableTextInput,
|
||||||
NULL, // IN_TouchAddClientButton,
|
NULL, // IN_TouchAddClientButton,
|
||||||
NULL, // IN_TouchAddDefaultButton,
|
NULL, // IN_TouchAddDefaultButton,
|
||||||
NULL, // (void*)IN_TouchHideButtons,
|
IN_TouchHideButtons,
|
||||||
NULL, // IN_TouchRemoveButton,
|
NULL, // IN_TouchRemoveButton,
|
||||||
NULL, // (void*)IN_TouchSetClientOnly,
|
NULL, // (void*)IN_TouchSetClientOnly,
|
||||||
NULL, // IN_TouchResetDefaultButtons,
|
NULL, // IN_TouchResetDefaultButtons,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user