sead
Loading...
Searching...
No Matches
seadCafeDebugControllerCafe.h
Go to the documentation of this file.
1#ifndef SEAD_CAFE_DEBUG_CONTROLLER_CAFE_H_
2#define SEAD_CAFE_DEBUG_CONTROLLER_CAFE_H_
3
4#include <controller/seadController.h>
5
6namespace sead {
7
9{
11
12public:
13 CafeDebugController(ControllerMgr* mgr, s32 channel);
14
15 s32 getChannel() const { return mChannel; }
16
17 bool isConnected() const override { return mIsConnected; }
18
19private:
20#if 0 // defined(SEAD_TARGET_DEBUG)
21 void calcImpl_() override;
22#else
23 void calcImpl_() override { }
24#endif
25
26 void clampStickValue_(Vector2f* out, s8 x, s8 y);
27
28private:
31};
32static_assert(sizeof(CafeDebugController) == 0x164, "sead::CafeDebugController size mismatch");
33
34} // namespace sead
35
36#endif // SEAD_CAFE_DEBUG_CONTROLLER_CAFE_H_
Definition seadCafeDebugControllerCafe.h:9
s32 getChannel() const
Definition seadCafeDebugControllerCafe.h:15
void clampStickValue_(Vector2f *out, s8 x, s8 y)
Definition seadCafeDebugControllerCafe.cpp:59
s32 mChannel
Definition seadCafeDebugControllerCafe.h:29
bool isConnected() const override
Definition seadCafeDebugControllerCafe.h:17
void calcImpl_() override
Definition seadCafeDebugControllerCafe.h:23
bool mIsConnected
Definition seadCafeDebugControllerCafe.h:30
CafeDebugController(ControllerMgr *mgr, s32 channel)
Definition seadCafeDebugControllerCafe.cpp:7
Definition seadControllerMgr.h:17
Definition seadController.h:28
Definition seadAssert.h:44
Vector2< f32 > Vector2f
Definition seadVector.h:238
#define SEAD_RTTI_OVERRIDE(CLASS, BASE)
Definition seadRuntimeTypeInfo.h:96