summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-08-09 02:05:03 +0200
committerwwylele <wwylele@gmail.com>2017-08-19 06:21:02 +0200
commit223bd354508a7bc88427d5b6f5245cfdf44011c7 (patch)
treec1b99fe9b85f50c3234e87de08d657b1918c2f85 /src/input_common
parentmove MotionEmu from core/frontend to input_common as a InputDevice (diff)
downloadyuzu-223bd354508a7bc88427d5b6f5245cfdf44011c7.tar
yuzu-223bd354508a7bc88427d5b6f5245cfdf44011c7.tar.gz
yuzu-223bd354508a7bc88427d5b6f5245cfdf44011c7.tar.bz2
yuzu-223bd354508a7bc88427d5b6f5245cfdf44011c7.tar.lz
yuzu-223bd354508a7bc88427d5b6f5245cfdf44011c7.tar.xz
yuzu-223bd354508a7bc88427d5b6f5245cfdf44011c7.tar.zst
yuzu-223bd354508a7bc88427d5b6f5245cfdf44011c7.zip
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/motion_emu.cpp6
-rw-r--r--src/input_common/motion_emu.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/src/input_common/motion_emu.cpp b/src/input_common/motion_emu.cpp
index 65e80529d..a1761f184 100644
--- a/src/input_common/motion_emu.cpp
+++ b/src/input_common/motion_emu.cpp
@@ -2,8 +2,14 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <chrono>
+#include <mutex>
+#include <thread>
+#include <tuple>
#include "common/math_util.h"
#include "common/quaternion.h"
+#include "common/thread.h"
+#include "common/vector_math.h"
#include "input_common/motion_emu.h"
namespace InputCommon {
diff --git a/src/input_common/motion_emu.h b/src/input_common/motion_emu.h
index 195fb69d2..7a7e22467 100644
--- a/src/input_common/motion_emu.h
+++ b/src/input_common/motion_emu.h
@@ -3,8 +3,7 @@
// Refer to the license.txt file included.
#pragma once
-#include "common/thread.h"
-#include "common/vector_math.h"
+
#include "core/frontend/input.h"
namespace InputCommon {