mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-31 08:21:11 -06:00
* Implemented guest-to-host function pointers (WIP) Co-Authored-By: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com> * function: support more types for function pointers * api: ported BlueBlur headers and misc. research * Move over function-pointers changes from options-menu branch. --------- Co-authored-by: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>
22 lines
426 B
C++
22 lines
426 B
C++
#pragma once
|
|
|
|
#include "SWA.inl"
|
|
#include "PadState.h"
|
|
|
|
namespace SWA
|
|
{
|
|
class CInputState : public Hedgehog::Base::CSynchronizedObject
|
|
{
|
|
public:
|
|
// TODO: Hedgehog::Base::TSynchronizedPtr<CInputState>
|
|
static CInputState* GetInstance();
|
|
|
|
SPadState m_PadStates[8];
|
|
be<uint32_t> m_CurrentPadStateIndex;
|
|
|
|
const SPadState& GetPadState() const;
|
|
};
|
|
}
|
|
|
|
#include "InputState.inl"
|