Play-/Source/PH_Generic.h

22 lines
446 B
C
Raw Normal View History

#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:
2015-05-16 23:07:24 -04:00
bool m_buttonStates[PS2::CControllerInfo::MAX_BUTTONS];
float m_axisStates[PS2::CControllerInfo::MAX_BUTTONS];
};