NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_game_key.hpp
1#pragma once
2#include <types.h>
3
5public:
6 enum EXTENSION_e {
7 EXTENSION_NONE = 0,
8 EXTENSION_NUNCHUK = 1
9 };
10
11 virtual ~dGameKeyCore_c() {}
12
13 int mIndex;
14 EXTENSION_e mAttachedExtension;
15 char mPad1[8];
16 int mDownButtons; ///< The buttons currently pressed down.
17 char mPad2[4];
18 int mTriggeredButtons; ///< The buttons newly pressed down.
19 char mPad3[0x6c];
20 bool mIsShaking;
21};
22
24public:
25 virtual ~dGameKey_c();
26
27 dGameKeyCore_c *keys[4];
28
29 static dGameKey_c *m_instance;
30};
int mDownButtons
The buttons currently pressed down.
int mTriggeredButtons
The buttons newly pressed down.