3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/oreui/input/GamepadEventThrottler.h"
7#include "mc/client/gui/oreui/input/GamepadMode.h"
8#include "mc/client/gui/oreui/input/GamepadState.h"
9#include "mc/deps/core/utility/pub_sub/Subscription.h"
15namespace cohtml {
class View; }
24 ::ll::TypedStorage<4, 64, ::OreUI::GamepadState> mGamepadState;
25 ::ll::TypedStorage<8, 784, ::OreUI::GamepadEventThrottler> mEventThrottler;
26 ::ll::TypedStorage<1, 1, bool> mSwapABButtons;
27 ::ll::TypedStorage<1, 1, bool> mSwapXYButtons;
28 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mSwapABOptionSubscription;
29 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mSwapXYOptionSubscription;
34 GamepadInputHandler();
39 MCAPI
explicit GamepadInputHandler(::IOptionRegistry& options);
41 MCAPI
void _triggerButtonEvents(
43 ::OreUI::GamepadMode gamepadMode,
44 ::OreUI::GamepadInput
const& gamepadInput
48 handle(::OreUI::GamepadInput
const& gamepadInput, ::cohtml::View& view, ::OreUI::GamepadMode gamepadMode);
54 MCAPI
void* $ctor(::IOptionRegistry& options);
Definition IOptionRegistry.h:5