Play-/Source/ui_win32/PH_DirectInput.h
Jean-Philip Desjardins 82fd06476e Use focus window system.
2016-08-29 21:42:21 -04:00

27 lines
663 B
C++

#pragma once
#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*) override;
Framework::Win32::CWindow* CreateSettingsDialog(HWND) override;
void OnSettingsDialogDestroyed() override;
static FactoryFunction GetFactoryFunction(HWND);
private:
static CPadHandler* PadHandlerFactory(HWND);
PH_DirectInput::CInputManager m_inputManager;
};