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