Play-/Source/PH_Generic.h
2018-04-30 21:01:23 +01:00

22 lines
406 B
C++

#pragma once
#include "PadHandler.h"
class CPH_Generic : public CPadHandler
{
public:
CPH_Generic();
virtual ~CPH_Generic();
static FactoryFunction GetFactoryFunction();
void Update(uint8*) override;
void SetButtonState(uint32, bool);
void SetAxisState(uint32, float);
private:
bool m_buttonStates[PS2::CControllerInfo::MAX_BUTTONS];
float m_axisStates[PS2::CControllerInfo::MAX_BUTTONS];
};