mirror of
https://github.com/libretro/Play-.git
synced 2025-01-07 09:00:25 +00:00
27 lines
663 B
C++
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;
|
|
};
|