Play-/Source/ui_win32/PH_DirectInput.h
2015-05-06 01:27:59 -04:00

31 lines
724 B
C++

#ifndef _PH_DIRECTINPUT_H_
#define _PH_DIRECTINPUT_H_
#include "Types.h"
#include "SettingsDialogProvider.h"
#include "../PadHandler.h"
#include "../ControllerInfo.h"
#include "PH_DirectInput/InputManager.h"
class CPH_DirectInput : public CPadHandler, public CSettingsDialogProvider
{
public:
CPH_DirectInput(HWND);
virtual ~CPH_DirectInput();
void Update(uint8*);
virtual Framework::Win32::CModalWindow* CreateSettingsDialog(HWND);
virtual void OnSettingsDialogDestroyed();
static FactoryFunction GetFactoryFunction(HWND);
private:
static CPadHandler* PadHandlerFactory(HWND);
PH_DirectInput::CInputManager m_inputManager;
HWND m_hWnd;
};
#endif