2015-05-06 01:27:59 -04:00
|
|
|
#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*);
|
|
|
|
|
2015-11-15 17:34:05 -05:00
|
|
|
Framework::Win32::CWindow* CreateSettingsDialog(HWND) override;
|
2015-11-13 11:12:39 -05:00
|
|
|
void OnSettingsDialogDestroyed() override;
|
2015-05-06 01:27:59 -04:00
|
|
|
|
|
|
|
static FactoryFunction GetFactoryFunction(HWND);
|
|
|
|
|
|
|
|
private:
|
|
|
|
static CPadHandler* PadHandlerFactory(HWND);
|
|
|
|
|
|
|
|
PH_DirectInput::CInputManager m_inputManager;
|
|
|
|
HWND m_hWnd;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|