3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/common/SubClientId.h"
7#include "mc/deps/input/interface/IGameController.h"
8#include "mc/platform/brstd/simple_circular_queue.h"
27 ::ll::TypedStorage<8, 8, void const*> mToken;
28 ::ll::TypedStorage<8, 31216, ::brstd::simple_circular_queue<::GameControllerEvent, 600>> mEvents;
35 ::ll::TypedStorage<8, 24, ::std::vector<::GameController::EventQueue>> mEventQueues;
36 ::ll::TypedStorage<1, 1, bool> mIsConnected;
37 ::ll::TypedStorage<4, 4, int> mControllerId;
38 ::ll::TypedStorage<1, 1, bool> mIsAdequateController;
39 ::ll::TypedStorage<1, 2, ::std::optional<::SubClientId>> mPairedClientId;
40 ::ll::TypedStorage<1, 1, bool> mFoundXboxController;
41 ::ll::TypedStorage<1, 1, bool> mFoundPlaystationController;
42 ::ll::TypedStorage<1, 1, bool> mFoundDualsenseController;
48 virtual bool hasEvents(
void const* token)
const ;
50 virtual ::GameControllerEvent getNextEvent(
void const* token) ;
52 virtual int getId() const ;
54 virtual
bool isConnected() const ;
56 virtual
bool isAdequateController() const ;
58 virtual
void pairControllerToClient(::SubClientId clientId) ;
60 virtual
void unpairControllerFromClient() ;
62 virtual
bool isControllerPairedToClient() const ;
64 virtual ::std::optional<::SubClientId> getPairedClientId() const ;
Definition GameController.h:5
MCAPI bool $isConnected() const
MCAPI void $unpairControllerFromClient()
MCAPI::GameControllerEvent $getNextEvent(void const *token)
MCAPI ::std::optional<::SubClientId > $getPairedClientId() const
MCAPI bool $isAdequateController() const
MCAPI bool $isControllerPairedToClient() const
MCAPI bool $hasEvents(void const *token) const
MCAPI void $pairControllerToClient(::SubClientId clientId)
Definition IGameController.h:5
Definition GameControllerEvent.h:5
Definition GameController.h:13