summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-06-03 21:50:04 +0200
committerLioncash <mathew1800@gmail.com>2019-06-03 22:56:42 +0200
commitcf0d01a5d775f318f7cf1045a2a2a792b15111e6 (patch)
tree217e56818f84256f82df7137d8ffa24a2c1682b2 /src/input_common
parentinput_common/sdl/sdl_impl: Use nested namespace specifiers where applicable (diff)
downloadyuzu-cf0d01a5d775f318f7cf1045a2a2a792b15111e6.tar
yuzu-cf0d01a5d775f318f7cf1045a2a2a792b15111e6.tar.gz
yuzu-cf0d01a5d775f318f7cf1045a2a2a792b15111e6.tar.bz2
yuzu-cf0d01a5d775f318f7cf1045a2a2a792b15111e6.tar.lz
yuzu-cf0d01a5d775f318f7cf1045a2a2a792b15111e6.tar.xz
yuzu-cf0d01a5d775f318f7cf1045a2a2a792b15111e6.tar.zst
yuzu-cf0d01a5d775f318f7cf1045a2a2a792b15111e6.zip
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/sdl/sdl.h7
-rw-r--r--src/input_common/sdl/sdl_impl.cpp2
-rw-r--r--src/input_common/sdl/sdl_impl.h7
3 files changed, 5 insertions, 11 deletions
diff --git a/src/input_common/sdl/sdl.h b/src/input_common/sdl/sdl.h
index d7f24c68a..5306daa70 100644
--- a/src/input_common/sdl/sdl.h
+++ b/src/input_common/sdl/sdl.h
@@ -6,15 +6,8 @@
#include <memory>
#include <vector>
-#include "core/frontend/input.h"
#include "input_common/main.h"
-union SDL_Event;
-
-namespace Common {
-class ParamPackage;
-} // namespace Common
-
namespace InputCommon::Polling {
class DevicePoller;
enum class DeviceType;
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp
index 5b849283a..24252279d 100644
--- a/src/input_common/sdl/sdl_impl.cpp
+++ b/src/input_common/sdl/sdl_impl.cpp
@@ -6,7 +6,6 @@
#include <atomic>
#include <cmath>
#include <functional>
-#include <iterator>
#include <mutex>
#include <string>
#include <thread>
@@ -15,7 +14,6 @@
#include <utility>
#include <vector>
#include <SDL.h>
-#include "common/assert.h"
#include "common/logging/log.h"
#include "common/math_util.h"
#include "common/param_package.h"
diff --git a/src/input_common/sdl/sdl_impl.h b/src/input_common/sdl/sdl_impl.h
index 2579741d6..fadcf3139 100644
--- a/src/input_common/sdl/sdl_impl.h
+++ b/src/input_common/sdl/sdl_impl.h
@@ -6,7 +6,10 @@
#include <atomic>
#include <memory>
+#include <mutex>
#include <thread>
+#include <unordered_map>
+#include "common/common_types.h"
#include "common/threadsafe_queue.h"
#include "input_common/sdl/sdl.h"
@@ -16,9 +19,9 @@ using SDL_JoystickID = s32;
namespace InputCommon::SDL {
-class SDLJoystick;
-class SDLButtonFactory;
class SDLAnalogFactory;
+class SDLButtonFactory;
+class SDLJoystick;
class SDLState : public State {
public: