mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 03:35:26 +00:00
Fix more header sorting issues in InputCommon/ (now check-includes clean).
This commit is contained in:
parent
fca12c4c4e
commit
6847a0fc0c
@ -10,11 +10,10 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
#include "Common/Common.h"
|
#include "Common/Common.h"
|
||||||
#include "Common/Thread.h"
|
#include "Common/Thread.h"
|
||||||
#include "InputCommon/ControllerInterface/ExpressionParser.h"
|
|
||||||
#include "InputCommon/ControllerInterface/Device.h"
|
#include "InputCommon/ControllerInterface/Device.h"
|
||||||
|
#include "InputCommon/ControllerInterface/ExpressionParser.h"
|
||||||
|
|
||||||
// enable disable sources
|
// enable disable sources
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
@ -4,17 +4,16 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "InputCommon/ControllerInterface/Device.h"
|
|
||||||
|
|
||||||
#define DINPUT_SOURCE_NAME "DInput"
|
#define DINPUT_SOURCE_NAME "DInput"
|
||||||
|
|
||||||
#define DIRECTINPUT_VERSION 0x0800
|
#define DIRECTINPUT_VERSION 0x0800
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
#include <Windows.h>
|
|
||||||
#include <dinput.h>
|
#include <dinput.h>
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
#include "InputCommon/ControllerInterface/Device.h"
|
||||||
|
|
||||||
namespace ciface
|
namespace ciface
|
||||||
{
|
{
|
||||||
|
@ -2,15 +2,14 @@
|
|||||||
// Licensed under GPLv2
|
// Licensed under GPLv2
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
#include "InputCommon/ControllerInterface/DInput/DInput.h"
|
|
||||||
#include "InputCommon/ControllerInterface/DInput/DInputJoystick.h"
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
#include <wbemidl.h>
|
|
||||||
#include <oleauto.h>
|
#include <oleauto.h>
|
||||||
|
#include <sstream>
|
||||||
|
#include <wbemidl.h>
|
||||||
|
|
||||||
|
#include "InputCommon/ControllerInterface/DInput/DInput.h"
|
||||||
|
#include "InputCommon/ControllerInterface/DInput/DInputJoystick.h"
|
||||||
|
|
||||||
namespace ciface
|
namespace ciface
|
||||||
{
|
{
|
||||||
|
@ -3,8 +3,9 @@
|
|||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.h"
|
|
||||||
#include "InputCommon/ControllerInterface/DInput/DInput.h"
|
#include "InputCommon/ControllerInterface/DInput/DInput.h"
|
||||||
|
#include "InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.h"
|
||||||
|
|
||||||
// (lower would be more sensitive) user can lower sensitivity by setting range
|
// (lower would be more sensitive) user can lower sensitivity by setting range
|
||||||
// seems decent here ( at 8 ), I don't think anyone would need more sensitive than this
|
// seems decent here ( at 8 ), I don't think anyone would need more sensitive than this
|
||||||
@ -26,7 +27,7 @@ static const struct
|
|||||||
const char* const name;
|
const char* const name;
|
||||||
} named_keys[] =
|
} named_keys[] =
|
||||||
{
|
{
|
||||||
#include "InputCommon/ControllerInterface/DInput/NamedKeys.h"
|
#include "InputCommon/ControllerInterface/DInput/NamedKeys.h" // NOLINT
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct
|
static const struct
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "InputCommon/ControllerInterface/Device.h"
|
|
||||||
|
|
||||||
#define DIRECTINPUT_VERSION 0x0800
|
#define DIRECTINPUT_VERSION 0x0800
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
#include <Windows.h>
|
|
||||||
#include <dinput.h>
|
#include <dinput.h>
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
#include "InputCommon/ControllerInterface/Device.h"
|
||||||
|
|
||||||
namespace ciface
|
namespace ciface
|
||||||
{
|
{
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "InputCommon/ControllerInterface/Device.h"
|
|
||||||
|
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
#include <XInput.h>
|
#include <XInput.h>
|
||||||
|
|
||||||
|
#include "InputCommon/ControllerInterface/Device.h"
|
||||||
|
|
||||||
#ifndef XINPUT_DEVSUBTYPE_FLIGHT_STICK
|
#ifndef XINPUT_DEVSUBTYPE_FLIGHT_STICK
|
||||||
#error You are building this module against the wrong version of DirectX. You probably need to remove DXSDK_DIR from your include path and/or _WIN32_WINNT is wrong.
|
#error You are building this module against the wrong version of DirectX. You probably need to remove DXSDK_DIR from your include path and/or _WIN32_WINNT is wrong.
|
||||||
#endif
|
#endif
|
||||||
|
@ -6,14 +6,14 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "InputCommon/ControllerInterface/Device.h"
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#include <X11/keysym.h>
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/extensions/XInput2.h>
|
#include <X11/extensions/XInput2.h>
|
||||||
#include <X11/keysym.h>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#include "InputCommon/ControllerInterface/Device.h"
|
||||||
|
|
||||||
namespace ciface
|
namespace ciface
|
||||||
{
|
{
|
||||||
namespace XInput2
|
namespace XInput2
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "InputCommon/ControllerInterface/Xlib/Xlib.h"
|
|
||||||
|
|
||||||
#include <X11/XKBlib.h>
|
#include <X11/XKBlib.h>
|
||||||
|
|
||||||
|
#include "InputCommon/ControllerInterface/Xlib/Xlib.h"
|
||||||
|
|
||||||
namespace ciface
|
namespace ciface
|
||||||
{
|
{
|
||||||
namespace Xlib
|
namespace Xlib
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
// Licensed under GPLv2
|
// Licensed under GPLv2
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
#include "InputCommon/UDPWrapper.h"
|
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <string.h>
|
#include <cstring>
|
||||||
|
|
||||||
|
#include "InputCommon/UDPWrapper.h"
|
||||||
|
|
||||||
const std::string DefaultPort(const int index)
|
const std::string DefaultPort(const int index)
|
||||||
{
|
{
|
||||||
|
@ -6,11 +6,10 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "InputCommon/ControllerEmu.h"
|
|
||||||
#include "InputCommon/UDPWiimote.h"
|
|
||||||
|
|
||||||
#include "Common/Common.h"
|
#include "Common/Common.h"
|
||||||
#include "Common/IniFile.h"
|
#include "Common/IniFile.h"
|
||||||
|
#include "InputCommon/ControllerEmu.h"
|
||||||
|
#include "InputCommon/UDPWiimote.h"
|
||||||
|
|
||||||
class UDPWrapper : public ControllerEmu::ControlGroup
|
class UDPWrapper : public ControllerEmu::ControlGroup
|
||||||
{
|
{
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
// Licensed under GPLv2
|
// Licensed under GPLv2
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
#include <string.h>
|
#include <cstdio>
|
||||||
#include <stdio.h>
|
#include <cstring>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include "InputCommon/X11InputBase.h"
|
#include "InputCommon/X11InputBase.h"
|
||||||
|
@ -4,14 +4,14 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Common/Common.h"
|
|
||||||
|
|
||||||
#include <X11/X.h>
|
|
||||||
#include <X11/keysym.h>
|
#include <X11/keysym.h>
|
||||||
|
#include <X11/X.h>
|
||||||
#if defined(HAVE_WX) && HAVE_WX
|
#if defined(HAVE_WX) && HAVE_WX
|
||||||
#include <wx/wx.h>
|
#include <wx/wx.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "Common/Common.h"
|
||||||
|
|
||||||
namespace InputCommon
|
namespace InputCommon
|
||||||
{
|
{
|
||||||
#if defined(HAVE_WX) && HAVE_WX
|
#if defined(HAVE_WX) && HAVE_WX
|
||||||
|
Loading…
x
Reference in New Issue
Block a user