summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent/c_API_controller_pad.h
diff options
context:
space:
mode:
authorlepelog <lepelog@users.noreply.github.com>2021-04-08 22:18:35 +0200
committerlepelog <lepelog@users.noreply.github.com>2021-04-08 22:18:35 +0200
commit10734701d5116e6073f32eed8a0faaabec59caca (patch)
treeb67f3e731d65c6a7b7fcd5437a0178e72af875ad /include/SSystem/SComponent/c_API_controller_pad.h
parent745c9eb2cd67796986d44fc765406b08e2fe55b0 (diff)
more SComponent
Diffstat (limited to 'include/SSystem/SComponent/c_API_controller_pad.h')
-rw-r--r--include/SSystem/SComponent/c_API_controller_pad.h37
1 files changed, 34 insertions, 3 deletions
diff --git a/include/SSystem/SComponent/c_API_controller_pad.h b/include/SSystem/SComponent/c_API_controller_pad.h
index 56ba9e95a7..1036ccab71 100644
--- a/include/SSystem/SComponent/c_API_controller_pad.h
+++ b/include/SSystem/SComponent/c_API_controller_pad.h
@@ -1,6 +1,37 @@
-#ifndef C_API_CONTROLLER_PAD_H
-#define C_API_CONTROLLER_PAD_H
+#ifndef C_API_CONTROLLER_PAD_
+#define C_API_CONTROLLER_PAD_
#include "dolphin/types.h"
-#endif /* C_API_CONTROLLER_PAD_H */
+struct interface_of_controller_pad {
+ f32 mMainStickPosX;
+ f32 mMainStickPosY;
+ f32 mMainStickValue;
+ s16 mMainStickAngle;
+ u8 field_0xe;
+ u8 field_0xf;
+ f32 mCStickPosX;
+ f32 mCStickPosY;
+ f32 mCStickValue;
+ s16 mCStickAngle;
+ u8 field_0x1e;
+ u8 field_0x1f;
+ f32 mAnalogA;
+ f32 mAnalogB;
+ f32 mTriggerLeft;
+ f32 mTriggerRight;
+ u32 mButtonFlags;
+ u32 mPressedButtonFlags;
+ s8 mGamepadErrorFlags;
+ u8 field_0x39;
+ u8 field_0x3a;
+ u8 field_0x3b;
+ u8 field_0x3c;
+ u8 field_0x3d;
+ u8 field_0x3e;
+ u8 field_0x3f;
+};
+
+void cAPICPad_recalibrate(void);
+
+#endif \ No newline at end of file