mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 01:47:33 +01:00
input_common/main: Remove unnecessary headers
This commit is contained in:
parent
4b9b203c09
commit
98f5d8a713
@ -8,13 +8,19 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "input_common/gcadapter/gc_poller.h"
|
|
||||||
#include "input_common/settings.h"
|
|
||||||
|
|
||||||
namespace Common {
|
namespace Common {
|
||||||
class ParamPackage;
|
class ParamPackage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace Settings::NativeAnalog {
|
||||||
|
enum Values : int;
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace Settings::NativeButton {
|
||||||
|
enum Values : int;
|
||||||
|
}
|
||||||
|
|
||||||
namespace InputCommon {
|
namespace InputCommon {
|
||||||
namespace Polling {
|
namespace Polling {
|
||||||
|
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "common/math_util.h"
|
|
||||||
#include "common/param_package.h"
|
#include "common/param_package.h"
|
||||||
#include "common/threadsafe_queue.h"
|
#include "common/threadsafe_queue.h"
|
||||||
#include "core/frontend/input.h"
|
#include "core/frontend/input.h"
|
||||||
#include "input_common/sdl/sdl_impl.h"
|
#include "input_common/sdl/sdl_impl.h"
|
||||||
|
#include "input_common/settings.h"
|
||||||
|
|
||||||
namespace InputCommon::SDL {
|
namespace InputCommon::SDL {
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
namespace Settings {
|
namespace Settings {
|
||||||
namespace NativeButton {
|
namespace NativeButton {
|
||||||
enum Values {
|
enum Values : int {
|
||||||
A,
|
A,
|
||||||
B,
|
B,
|
||||||
X,
|
X,
|
||||||
@ -52,7 +52,7 @@ extern const std::array<const char*, NumButtons> mapping;
|
|||||||
} // namespace NativeButton
|
} // namespace NativeButton
|
||||||
|
|
||||||
namespace NativeAnalog {
|
namespace NativeAnalog {
|
||||||
enum Values {
|
enum Values : int {
|
||||||
LStick,
|
LStick,
|
||||||
RStick,
|
RStick,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user