3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/input/JoystickState.h"
7#include "mc/deps/input/TouchControl.h"
8#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<bool()>> mAltJoystickAlwaysVisible;
26 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mAltStickEnabled;
27 ::ll::TypedStorage<8, 64, ::std::function<float()>> mThumbstickOpacity;
28 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mStaticJoystick;
29 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mStaticAltJoystick;
30 ::ll::TypedStorage<8, 64, ::std::function<::RectangleArea()>> mDefaultMoveStickArea;
31 ::ll::TypedStorage<8, 64, ::std::function<::RectangleArea()>> mDefaultAltStickArea;
32 ::ll::TypedStorage<8, 64, ::std::function<::RectangleArea()>> mHotbarArea;
33 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mJoystickVisibleWhenUnused;
34 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mAltJoystickVisibleWhenUnused;
35 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mShowActionButton;
36 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mSprintOnMovement;
37 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mIsInputSprinting;
38 ::ll::TypedStorage<8, 64, ::std::function<float()>> mClientActivePointer;
39 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mIsInControlEditMode;
40 ::ll::TypedStorage<8, 64, ::std::function<::std::vector<::RectangleArea>()>> mGetInactiveAreasCallback;
41 ::ll::TypedStorage<4, 4, uint const> mTurnInteractButtonId;
42 ::ll::TypedStorage<4, 4, uint const> mTapButtonId;
43 ::ll::TypedStorage<4, 4, uint const> mHoldButtonId;
44 ::ll::TypedStorage<4, 4, uint const> mSprintButtonId;
45 ::ll::TypedStorage<8, 152, ::TouchMoveAndTurnControlState> mState;
51 virtual ~TouchMoveAndTurnInteractControl() =
default;
54 tick(::InputEventQueue& eventQueue, ::TouchPointResults& touchPointResults,
int yAxisInversionFactor) ;
56 virtual void render(::InputRenderContext& context)
const ;
66 ::JoystickState state,
76 bool joystickVisibleWhenUnused,
77 bool joystickAlwaysVisible
84 ::JoystickState joystickState,
Definition InputRenderContext.h:5
Definition RectangleArea.h:5
Definition TouchControl.h:5
Definition TouchMoveAndTurnInteractControl.h:5
MCAPI void _setPreviousActionPointer(int processedPointerId)
MCAPI void drawJoystick(::InputRenderContext &context, ::JoystickState joystickState, float x, float y, float x0, float y0, float joystickRadius) const
MCAPI void _renderJoystick(::InputRenderContext &context, ::JoystickState state, bool initialized, float x, float y, float x0, float y0, ::RectangleArea const &moveArea, ::RectangleArea const &defaultArea, float radius, bool staticJoystick, bool joystickVisibleWhenUnused, bool joystickAlwaysVisible) const
MCAPI bool _isClientCurrentActivePointer(int processedPointerId) const
MCAPI void $render(::InputRenderContext &context) const
static MCAPI void calibrateMoveDelta(float &dx, float &dy)
MCAPI void $tick(::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
Definition TouchPointResults.h:5