summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-29 01:15:06 +0200
committerLioncash <mathew1800@gmail.com>2020-08-29 01:23:19 +0200
commit98f5d8a713966e960f0e4d4f520b67786ebad9d9 (patch)
treeadd88e20be7c3ba610304172ce115a3a8b5b91f6 /src
parentinput_common/main: Remove unimplemented prototype (diff)
downloadyuzu-98f5d8a713966e960f0e4d4f520b67786ebad9d9.tar
yuzu-98f5d8a713966e960f0e4d4f520b67786ebad9d9.tar.gz
yuzu-98f5d8a713966e960f0e4d4f520b67786ebad9d9.tar.bz2
yuzu-98f5d8a713966e960f0e4d4f520b67786ebad9d9.tar.lz
yuzu-98f5d8a713966e960f0e4d4f520b67786ebad9d9.tar.xz
yuzu-98f5d8a713966e960f0e4d4f520b67786ebad9d9.tar.zst
yuzu-98f5d8a713966e960f0e4d4f520b67786ebad9d9.zip
Diffstat (limited to '')
-rw-r--r--src/input_common/main.h10
-rw-r--r--src/input_common/sdl/sdl_impl.cpp2
-rw-r--r--src/input_common/settings.h4
3 files changed, 11 insertions, 5 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h
index ef52983e2..58e5dc250 100644
--- a/src/input_common/main.h
+++ b/src/input_common/main.h
@@ -8,13 +8,19 @@
#include <string>
#include <unordered_map>
#include <vector>
-#include "input_common/gcadapter/gc_poller.h"
-#include "input_common/settings.h"
namespace Common {
class ParamPackage;
}
+namespace Settings::NativeAnalog {
+enum Values : int;
+}
+
+namespace Settings::NativeButton {
+enum Values : int;
+}
+
namespace InputCommon {
namespace Polling {
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp
index 7605c884d..c8d9eb2bc 100644
--- a/src/input_common/sdl/sdl_impl.cpp
+++ b/src/input_common/sdl/sdl_impl.cpp
@@ -17,11 +17,11 @@
#include <vector>
#include <SDL.h>
#include "common/logging/log.h"
-#include "common/math_util.h"
#include "common/param_package.h"
#include "common/threadsafe_queue.h"
#include "core/frontend/input.h"
#include "input_common/sdl/sdl_impl.h"
+#include "input_common/settings.h"
namespace InputCommon::SDL {
diff --git a/src/input_common/settings.h b/src/input_common/settings.h
index 8e481a7fe..2d258960b 100644
--- a/src/input_common/settings.h
+++ b/src/input_common/settings.h
@@ -10,7 +10,7 @@
namespace Settings {
namespace NativeButton {
-enum Values {
+enum Values : int {
A,
B,
X,
@@ -52,7 +52,7 @@ extern const std::array<const char*, NumButtons> mapping;
} // namespace NativeButton
namespace NativeAnalog {
-enum Values {
+enum Values : int {
LStick,
RStick,