Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
c_API_controller_pad.h
Go to the documentation of this file.
1#ifndef C_API_CONTROLLER_PAD_
2#define C_API_CONTROLLER_PAD_
3
4#include "dolphin/types.h"
5
7 /* 0x00 */ f32 mMainStickPosX;
8 /* 0x04 */ f32 mMainStickPosY;
9 /* 0x08 */ f32 mMainStickValue;
10 /* 0x0C */ s16 mMainStickAngle;
11 /* 0x0E */ u8 field_0xe;
12 /* 0x0F */ u8 field_0xf;
13 /* 0x10 */ f32 mCStickPosX;
14 /* 0x14 */ f32 mCStickPosY;
15 /* 0x18 */ f32 mCStickValue;
16 /* 0x1C */ s16 mCStickAngle;
17 /* 0x1E */ u8 field_0x1e;
18 /* 0x1F */ u8 field_0x1f;
19 /* 0x20 */ f32 mAnalogA;
20 /* 0x24 */ f32 mAnalogB;
21 /* 0x28 */ f32 mTriggerLeft;
22 /* 0x2C */ f32 mTriggerRight;
23 /* 0x30 */ u32 mButtonFlags;
26 /* 0x39 */ u8 mHoldLockL;
27 /* 0x3A */ u8 mTrigLockL;
28 /* 0x3B */ u8 mHoldLockR;
29 /* 0x3C */ u8 mTrigLockR;
30 /* 0x3D */ u8 field_0x3d;
31 /* 0x3E */ u8 field_0x3e;
32 /* 0x3F */ u8 field_0x3f;
33};
34
35void cAPICPad_recalibrate(void);
37
38#endif
u32 cAPICPad_ANY_BUTTON(u32 param_0)
Definition c_API_controller_pad.cpp:15
void cAPICPad_recalibrate(void)
Definition c_API_controller_pad.cpp:10
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition c_API_controller_pad.h:6
f32 mTriggerLeft
Definition c_API_controller_pad.h:21
u8 mTrigLockR
Definition c_API_controller_pad.h:29
u8 field_0x3d
Definition c_API_controller_pad.h:30
f32 mMainStickPosX
Definition c_API_controller_pad.h:7
s16 mMainStickAngle
Definition c_API_controller_pad.h:10
u8 mTrigLockL
Definition c_API_controller_pad.h:27
u8 field_0x3e
Definition c_API_controller_pad.h:31
f32 mCStickValue
Definition c_API_controller_pad.h:15
f32 mAnalogB
Definition c_API_controller_pad.h:20
u32 mPressedButtonFlags
Definition c_API_controller_pad.h:24
u8 mHoldLockL
Definition c_API_controller_pad.h:26
u8 field_0x3f
Definition c_API_controller_pad.h:32
u8 field_0x1f
Definition c_API_controller_pad.h:18
f32 mMainStickPosY
Definition c_API_controller_pad.h:8
u32 mButtonFlags
Definition c_API_controller_pad.h:23
f32 mCStickPosY
Definition c_API_controller_pad.h:14
f32 mAnalogA
Definition c_API_controller_pad.h:19
u8 field_0xe
Definition c_API_controller_pad.h:11
f32 mTriggerRight
Definition c_API_controller_pad.h:22
s8 mGamepadErrorFlags
Definition c_API_controller_pad.h:25
u8 field_0x1e
Definition c_API_controller_pad.h:17
u8 mHoldLockR
Definition c_API_controller_pad.h:28
u8 field_0xf
Definition c_API_controller_pad.h:12
f32 mCStickPosX
Definition c_API_controller_pad.h:13
f32 mMainStickValue
Definition c_API_controller_pad.h:9
s16 mCStickAngle
Definition c_API_controller_pad.h:16
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8