Files
UnleashedRecomp-hedge-dev/UnleashedRecomp/api/SWA/System/InputState.h
2024-10-17 23:41:38 +01:00

28 lines
701 B
C++

#pragma once
#include "SWA.inl"
#include "PadState.h"
namespace SWA
{
class CInputState // : public Hedgehog::Base::CSynchronizedObject
{
public:
// TODO: use g_memory.Translate?
// TODO: Hedgehog::Base::TSynchronizedPtr<CInputState>*
inline static xpointer<CInputState>* ms_pInstance = (xpointer<CInputState>*)0x1833671EC;
// TODO: Hedgehog::Base::TSynchronizedPtr<CInputState>
static CInputState* GetInstance();
SPadState m_PadStates[40];
SWA_INSERT_PADDING(0x50);
be<uint32_t> m_CurrentPadStateIndex;
SWA_INSERT_PADDING(0x04);
const SPadState& GetPadState() const;
};
}
#include "InputState.inl"