diff options
| author | JosJuice <josjuice@gmail.com> | 2021-12-12 15:14:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-12 15:14:28 +0100 |
| commit | f4e2d369c075f44f037289a1ccb78274c7d5cb39 (patch) | |
| tree | 9b89dd27ea346edb18349c7e68b3f498c178d64f /Source/Core/InputCommon/ControllerInterface | |
| parent | bfddce425dfb4767aefe00c9e4b49126a50d62b6 (diff) | |
| parent | 20257634209dba85d2cd51ad42e660090a5224e6 (diff) | |
Merge pull request #10270 from Pokechu22/header-order
Treewide: Adjust order of includes
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
10 files changed, 21 insertions, 10 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp b/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp index 5937f1168f..7a7c548cc6 100644 --- a/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp @@ -2,6 +2,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include "InputCommon/ControllerInterface/Android/Android.h" + #include "InputCommon/ControllerInterface/ControllerInterface.h" #include "InputCommon/ControllerInterface/Touch/Touchscreen.h" diff --git a/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp b/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp index e7a8bea6fe..596fd1f109 100644 --- a/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp +++ b/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp @@ -1,6 +1,8 @@ // Copyright 2010 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#include "InputCommon/ControllerInterface/DInput/DInputJoystick.h" + #include <algorithm> #include <limits> #include <mutex> @@ -11,7 +13,6 @@ #include "Common/Logging/Log.h" #include "InputCommon/ControllerInterface/ControllerInterface.h" #include "InputCommon/ControllerInterface/DInput/DInput.h" -#include "InputCommon/ControllerInterface/DInput/DInputJoystick.h" #include "InputCommon/ControllerInterface/DInput/XInputFilter.h" namespace ciface::DInput diff --git a/Source/Core/InputCommon/ControllerInterface/DInput/XInputFilter.cpp b/Source/Core/InputCommon/ControllerInterface/DInput/XInputFilter.cpp index 94ae14f3db..4379749e5f 100644 --- a/Source/Core/InputCommon/ControllerInterface/DInput/XInputFilter.cpp +++ b/Source/Core/InputCommon/ControllerInterface/DInput/XInputFilter.cpp @@ -1,6 +1,8 @@ // Copyright 2014 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#include "InputCommon/ControllerInterface/DInput/XInputFilter.h" + #include <cwchar> #include <unordered_set> #include <vector> diff --git a/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm b/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm index e846ffb0e1..10c30ffb21 100644 --- a/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm +++ b/Source/Core/InputCommon/ControllerInterface/OSX/OSX.mm @@ -1,6 +1,8 @@ // Copyright 2013 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#include "InputCommon/ControllerInterface/OSX/OSX.h" + #include <thread> #include <Cocoa/Cocoa.h> @@ -12,7 +14,6 @@ #include "Common/Thread.h" #include "InputCommon/ControllerInterface/ControllerInterface.h" -#include "InputCommon/ControllerInterface/OSX/OSX.h" #include "InputCommon/ControllerInterface/OSX/OSXJoystick.h" #include "InputCommon/ControllerInterface/OSX/RunLoopStopper.h" diff --git a/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.cpp b/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.cpp index a273814db6..5c71adec23 100644 --- a/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.cpp @@ -1,6 +1,8 @@ // Copyright 2015 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#include "InputCommon/ControllerInterface/Pipes/Pipes.h" + #include <algorithm> #include <array> #include <cstdlib> @@ -17,7 +19,6 @@ #include "Common/FileUtil.h" #include "Common/StringUtil.h" #include "InputCommon/ControllerInterface/ControllerInterface.h" -#include "InputCommon/ControllerInterface/Pipes/Pipes.h" namespace ciface::Pipes { diff --git a/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h b/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h index 3c1516c714..ab9e987c32 100644 --- a/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h +++ b/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h @@ -7,6 +7,8 @@ #include <string> #include <vector> +#include "InputCommon/ControllerInterface/ControllerInterface.h" + namespace ciface::Pipes { // To create a piped controller input, create a named pipe in the diff --git a/Source/Core/InputCommon/ControllerInterface/Touch/ButtonManager.cpp b/Source/Core/InputCommon/ControllerInterface/Touch/ButtonManager.cpp index 8b8412c932..7b15f92de9 100644 --- a/Source/Core/InputCommon/ControllerInterface/Touch/ButtonManager.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Touch/ButtonManager.cpp @@ -1,6 +1,8 @@ // Copyright 2013 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#include "InputCommon/ControllerInterface/Touch/ButtonManager.h" + #include <array> #include <sstream> #include <string> @@ -23,7 +25,6 @@ #include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h" #include "InputCommon/ControllerEmu/StickGate.h" -#include "InputCommon/ControllerInterface/Touch/ButtonManager.h" namespace ButtonManager { diff --git a/Source/Core/InputCommon/ControllerInterface/Touch/Touchscreen.cpp b/Source/Core/InputCommon/ControllerInterface/Touch/Touchscreen.cpp index ca98dbe040..a4c20b0ae0 100644 --- a/Source/Core/InputCommon/ControllerInterface/Touch/Touchscreen.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Touch/Touchscreen.cpp @@ -1,14 +1,15 @@ // Copyright 2013 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#include "InputCommon/ControllerInterface/Touch/Touchscreen.h" + +#include <sstream> +#include <thread> #ifdef ANDROID #include <jni/AndroidCommon/IDCache.h> #endif -#include <sstream> -#include <thread> #include "InputCommon/ControllerInterface/ControllerInterface.h" -#include "InputCommon/ControllerInterface/Touch/Touchscreen.h" namespace ciface::Touch { diff --git a/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp b/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp index 689b4fcf7b..1f8e107987 100644 --- a/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp @@ -1,6 +1,8 @@ // Copyright 2013 Max Eliaser // SPDX-License-Identifier: GPL-2.0-or-later +#include "InputCommon/ControllerInterface/Xlib/XInput2.h" + #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wregister" #include <X11/XKBlib.h> @@ -11,8 +13,6 @@ #include <fmt/format.h> -#include "InputCommon/ControllerInterface/Xlib/XInput2.h" - #include "Common/StringUtil.h" // This is an input plugin using the XInput 2.0 extension to the X11 protocol, diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp index f4b83f2056..43662edb8b 100644 --- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp +++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp @@ -1,6 +1,8 @@ // Copyright 2015 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#include "InputCommon/ControllerInterface/evdev/evdev.h" + #include <algorithm> #include <cstring> #include <map> @@ -20,7 +22,6 @@ #include "Common/StringUtil.h" #include "Common/Thread.h" #include "InputCommon/ControllerInterface/ControllerInterface.h" -#include "InputCommon/ControllerInterface/evdev/evdev.h" namespace ciface::evdev { |
