3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/input/InputDeviceMapper.h"
8#include "mc/deps/input/InputMode.h"
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TouchControlSet>> mTouchControlSet;
26 ::ll::TypedStorage<4, 4, int> mYAxisInversionFactor;
27 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<int, int>>> touchIdsWithFlags;
28 ::ll::TypedStorage<8, 64, ::std::function<::std::vector<::RectangleArea>()>> mAreaFunc;
29 ::ll::TypedStorage<4, 4, int> mPrimaryGameControllerId;
39 virtual ~TouchMapper() =
default;
41 virtual void setMapping(
42 ::InputEventQueue& eventQueue,
43 ::BindingFactory
const& bindingFactory,
44 ::InputMapping
const& inputMapping,
48 virtual void clearMapping(
int controllerId) ;
51 ::InputEventQueue& eventQueue,
52 ::Bedrock::NotNullNonOwnerPtr<::ControllerIDtoClientMap>
const& map
55 virtual void clearInputDeviceQueue() ;
57 virtual ::InputMode getInputMode() const ;
59 virtual
void render(::InputRenderContext& context) const ;
61 virtual
void setWindowSize(
int width,
int height) ;
63 virtual
void changeControllerId(
int oldId,
int newId) ;
69 MCAPI explicit TouchMapper(::std::function<::std::vector<::RectangleArea>()> areaFunc);
75 MCAPI
void* $ctor(::std::function<::std::vector<::RectangleArea>()> areaFunc);
81 MCAPI
void $setMapping(
82 ::InputEventQueue& eventQueue,
83 ::BindingFactory const& bindingFactory,
84 ::InputMapping const& inputMapping,
88 MCAPI
void $clearMapping(
int controllerId);
91 $tick(::InputEventQueue& eventQueue, ::Bedrock::NotNullNonOwnerPtr<::ControllerIDtoClientMap> const& map);
93 MCAPI
void $clearInputDeviceQueue();
95 MCFOLD ::InputMode $getInputMode() const;
97 MCFOLD
void $render(::InputRenderContext& context) const;
99 MCFOLD
void $setWindowSize(
int width,
int height);
101 MCAPI
void $changeControllerId(
int oldId,
int newId);
Definition BindingFactory.h:5
Definition InputRenderContext.h:5
Definition RectangleArea.h:5
Definition TouchControlSet.h:5
Definition TouchMapper.h:5
static MCAPI void ** $vftable()
Definition ControllerIDtoClientMap.h:5