SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
WPadButton.hpp
1#pragma once
2
3#include "Game/System/WPad.hpp"
4
5class WPadButton {
6public:
7 WPadButton(const WPad *);
8
9 void update();
10 bool testButtonUp() const;
11 bool testButtonDown() const;
12 bool testButtonLeft() const;
13 bool testButtonRight() const;
14 bool testButtonA() const;
15 bool testButtonB() const;
16 bool testButtonMinus() const;
17 bool testButtonPlus() const;
18 bool testButton1() const;
19 bool testButton2() const;
20 bool testButtonC() const;
21 bool testButtonZ() const;
22 bool testTriggerUp() const;
23 bool testTriggerDown() const;
24 bool testTriggerLeft() const;
25 bool testTriggerRight() const;
26 bool testTriggerA() const;
27 bool testTriggerB() const;
28 bool testTriggerMinus() const;
29 bool testTriggerHome() const;
30 bool testTriggerPlus() const;
31 bool testTrigger1() const;
32 bool testTrigger2() const;
33 bool testTriggerC() const;
34 bool testTriggerZ() const;
35 bool testReleaseZ() const;
36 bool isChangeAnyState() const;
37
38 const WPad* mPad; // _0
39 u32 mHold; // _4
40 u32 _8;
41 u32 mRelease; // _C
42 u32 _10;
43 f32 mDelaySec; // _14
44 f32 mPulseSec; // _18
45};
Definition WPad.hpp:15