3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/input/TouchControl.h"
7#include "mc/deps/input/TouchMoveAndTurnControlState.h"
22 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mCondition;
23 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mIsLeftHanded;
24 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mJoystickAlwaysVisible;
25 ::ll::TypedStorage<8, 64, ::std::function<float()>> mThumbstickOpacity;
26 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mStaticJoystick;
27 ::ll::TypedStorage<8, 64, ::std::function<::RectangleArea()>> mDefaultMoveStickArea;
28 ::ll::TypedStorage<8, 64, ::std::function<::RectangleArea()>> mHotbarArea;
29 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mJoystickVisibleWhenUnused;
30 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mShowActionButton;
31 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mSprintOnMovement;
32 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mIsInputSprinting;
33 ::ll::TypedStorage<8, 64, ::std::function<float()>> mClientActivePointer;
34 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mIsInControlEditMode;
35 ::ll::TypedStorage<8, 64, ::std::function<::std::vector<::RectangleArea>()>> mGetInactiveAreasCallback;
36 ::ll::TypedStorage<4, 4, uint const> mTurnInteractButtonId;
37 ::ll::TypedStorage<4, 4, uint const> mTapButtonId;
38 ::ll::TypedStorage<4, 4, uint const> mHoldButtonId;
39 ::ll::TypedStorage<4, 4, uint const> mSprintButtonId;
40 ::ll::TypedStorage<8, 120, ::TouchMoveAndTurnControlState> mState;
63 ::std::function<::std::vector<::RectangleArea>()> inactiveAreas
66 MCAPI
bool _isClientCurrentActivePointer(
int processedPointerId)
const;
68 MCAPI
void _setPreviousActionPointer(
int processedPointerId);
70 MCAPI
bool _shouldUpdateActivePointer(
int processedPointerId)
const;
72 MCAPI
bool calculateTouchDelta(
80 float maximumMovementZone,
84 MCAPI
void calculateTouchDeltaFromLastFrame(
91 int yAxisInversionFactor
94 MCAPI
void calibrateMoveDelta(
float& dx,
float& dy);
97 drawJoystick(
::InputRenderContext& context,
float x,
float y,
float x0,
float y0,
float joystickRadius)
const;
105 ::std::function<::std::vector<::RectangleArea>()> inactiveAreas
Definition InputRenderContext.h:5
Definition TouchControl.h:5
Definition TouchMoveAndTurnInteractControl.h:5
static MCAPI void ** $vftable()
Definition TouchPointResults.h:5
Definition TouchControlConfig.h:5