2015-05-23 22:55:12 -06:00
|
|
|
// Copyright 2010 Dolphin Emulator Project
|
2015-05-17 17:08:10 -06:00
|
|
|
// Licensed under GPLv2+
|
2014-02-10 11:54:46 -07:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
2010-04-01 20:48:24 -06:00
|
|
|
|
2010-07-03 02:04:10 -06:00
|
|
|
#define DINPUT_SOURCE_NAME "DInput"
|
|
|
|
|
2010-06-20 21:12:16 -06:00
|
|
|
#include <list>
|
2014-02-18 18:17:31 -07:00
|
|
|
#include <windows.h>
|
|
|
|
|
2014-08-22 18:17:49 -06:00
|
|
|
#include "InputCommon/ControllerInterface/DInput/DInput8.h"
|
2010-04-01 20:48:24 -06:00
|
|
|
|
|
|
|
namespace ciface
|
|
|
|
{
|
2010-07-03 02:04:10 -06:00
|
|
|
namespace DInput
|
2010-04-01 20:48:24 -06:00
|
|
|
{
|
2016-06-24 02:43:46 -06:00
|
|
|
// BOOL CALLBACK DIEnumEffectsCallback(LPCDIEFFECTINFO pdei, LPVOID pvRef);
|
2010-06-20 21:12:16 -06:00
|
|
|
BOOL CALLBACK DIEnumDeviceObjectsCallback(LPCDIDEVICEOBJECTINSTANCE lpddoi, LPVOID pvRef);
|
|
|
|
BOOL CALLBACK DIEnumDevicesCallback(LPCDIDEVICEINSTANCE lpddi, LPVOID pvRef);
|
|
|
|
std::string GetDeviceName(const LPDIRECTINPUTDEVICE8 device);
|
|
|
|
|
2016-06-12 09:08:04 -06:00
|
|
|
void Init(HWND hwnd);
|
2010-04-01 20:48:24 -06:00
|
|
|
}
|
|
|
|
}
|