Files
tp/include/JSystem/JStudio/JStudioToolLibrary/interface.h
T
TakaRikka 5867eaf68b general cleanup, d_menu_quit / d_a_obj_testcube mostly done, d_msg_scrn_explain debug (#3065)
* typedef for cPhs_Step

* make sdk includes consistent

* d_menu_quit / d_msg_scrn_explain debug

* d_a_obj_testcube mostly done

* d_debug_pad mostly done

* jstudio tool library headers

* some JStudioCameraEditor headers

* d_jcam_editor mostly done

* try fixing some shield regressions

* d_bg_parts mostly done

* fix merge errors

* debug fix
2026-01-24 23:36:23 -08:00

48 lines
1.3 KiB
C++

#ifndef JSTUDIOTOOLLIBRARY_INTERFACE_H
#define JSTUDIOTOOLLIBRARY_INTERFACE_H
#include "JSystem/JUtility/JUTGamePad.h"
namespace JStudioToolLibrary {
struct TPad {
struct TData {
TData();
void reset();
/* 0x00 */ int iButton_;
/* 0x04 */ int iButtonTrigger_;
/* 0x08 */ int iButtonRelease_;
/* 0x0C */ int iButtonRepeat_;
/* 0x10 */ f32 fAnalogMainStickX_;
/* 0x14 */ f32 fAnalogMainStickY_;
/* 0x18 */ f32 fAnalogSubStickX_;
/* 0x1C */ f32 fAnalogSubStickY_;
/* 0x20 */ f32 fAnalogTriggerL_;
/* 0x24 */ f32 fAnalogTriggerR_;
};
TPad();
void setPad(const JUTGamePad* pPad) {
pPad_ = pPad;
}
bool isEnabled() const;
void getData(TData*) const;
f32 getAnalog_triggerR() const;
f32 getAnalog_triggerL() const;
f32 getAnalog_subStickY() const;
f32 getAnalog_subStickX() const;
f32 getAnalog_mainStickY() const;
f32 getAnalog_mainStickX() const;
int getButton_repeat() const;
int getButton_release() const;
int getButton_trigger() const;
int getButton() const;
/* 0x0 */ const JUTGamePad* pPad_;
};
}
#endif