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 ;
62 MCAPI
bool _isClientCurrentActivePointer(
int processedPointerId)
const;
64 MCAPI
void _renderJoystick(
65 ::InputRenderContext& context,
66 ::JoystickState state,
72 ::RectangleArea
const& moveArea,
73 ::RectangleArea
const& defaultArea,
76 bool joystickVisibleWhenUnused,
77 bool joystickAlwaysVisible
80 MCAPI
void _setPreviousActionPointer(
int processedPointerId);
82 MCAPI
void drawJoystick(
83 ::InputRenderContext& context,
84 ::JoystickState joystickState,
96 MCAPI
static void calibrateMoveDelta(
float& dx,
float& dy);
102 MCAPI
void $tick(::InputEventQueue& eventQueue, ::TouchPointResults& touchPointResults,
int yAxisInversionFactor);
104 MCAPI
void $render(::InputRenderContext& context)
const;
Definition InputRenderContext.h:5
Definition RectangleArea.h:5
Definition TouchControl.h:5
Definition TouchMoveAndTurnInteractControl.h:5
Definition TouchPointResults.h:5