mirror of
https://github.com/libretro/Play-.git
synced 2025-01-06 08:38:48 +00:00
31 lines
724 B
C++
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
|