summaryrefslogtreecommitdiff
path: root/include/m_Re
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2026-03-01 13:19:48 -0800
committerGitHub <noreply@github.com>2026-03-01 13:19:48 -0800
commit6e149819e13b1f70ecbf8a4c66b030c17ffed2bb (patch)
treec0891f81261457accd576ac633c1ceeff4206c67 /include/m_Re
parent6a48380461bc9baabe1706ba57ca0cedfa2d0c51 (diff)
d_s_logo / d_s_play debug work, d_a_kago cleanup, misc cleanup (#3116)
* d_a_kago cleanup * d_s_logo wii/shield work * d_s_logo / d_s_play debug work * fix missing profile class sizeof's * fix phase->id values * build fixes * fix dCamera_c and camera profile
Diffstat (limited to 'include/m_Re')
-rw-r--r--include/m_Re/m_Re_controller_pad.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/m_Re/m_Re_controller_pad.h b/include/m_Re/m_Re_controller_pad.h
index ac77462a91..1b58bfd4af 100644
--- a/include/m_Re/m_Re_controller_pad.h
+++ b/include/m_Re/m_Re_controller_pad.h
@@ -187,6 +187,8 @@ public:
static u32 getTrigUp(u32 i_pad) { return getTrig(i_pad) & WPAD_BUTTON_UP; }
static u32 getTrigStart(u32 i_pad) { return getTrig(i_pad) & WPAD_BUTTON_PLUS; }
+ static f32 getStickX(u32 i_pad) { return getPad(i_pad).field_0x4[0].ex_status.fs.stick.x; }
+
static WPADInfo m_pad_info[WPAD_MAX_CONTROLLERS];
static Pad m_pad[WPAD_MAX_CONTROLLERS];
static motorWave_t m_motorWave[WPAD_MAX_CONTROLLERS];