From bf71d18af99368d7658c9519086c40e73c6abfdd Mon Sep 17 00:00:00 2001
From: german77 <juangerman-13@hotmail.com>
Date: Mon, 20 Sep 2021 15:02:01 -0500
Subject: [PATCH] core/hid: Move input_interpreter to hid

---
 src/core/CMakeLists.txt                          | 4 ++--
 src/core/{frontend => hid}/input_interpreter.cpp | 2 +-
 src/core/{frontend => hid}/input_interpreter.h   | 0
 src/yuzu/applets/qt_web_browser.cpp              | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
 rename src/core/{frontend => hid}/input_interpreter.cpp (97%)
 rename src/core/{frontend => hid}/input_interpreter.h (100%)

diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 9f0fbba2d..14ba986d3 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -132,11 +132,11 @@ add_library(core STATIC
     frontend/emu_window.h
     frontend/framebuffer_layout.cpp
     frontend/framebuffer_layout.h
-    frontend/input_interpreter.cpp
-    frontend/input_interpreter.h
     frontend/input.h
     hardware_interrupt_manager.cpp
     hardware_interrupt_manager.h
+    hid/input_interpreter.cpp
+    hid/input_interpreter.h
     hle/api_version.h
     hle/ipc.h
     hle/ipc_helpers.h
diff --git a/src/core/frontend/input_interpreter.cpp b/src/core/hid/input_interpreter.cpp
similarity index 97%
rename from src/core/frontend/input_interpreter.cpp
rename to src/core/hid/input_interpreter.cpp
index 9f6a90e8f..c33d8a11a 100644
--- a/src/core/frontend/input_interpreter.cpp
+++ b/src/core/hid/input_interpreter.cpp
@@ -3,7 +3,7 @@
 // Refer to the license.txt file included.
 
 #include "core/core.h"
-#include "core/frontend/input_interpreter.h"
+#include "core/hid/input_interpreter.h"
 #include "core/hle/service/hid/controllers/npad.h"
 #include "core/hle/service/hid/hid.h"
 #include "core/hle/service/sm/sm.h"
diff --git a/src/core/frontend/input_interpreter.h b/src/core/hid/input_interpreter.h
similarity index 100%
rename from src/core/frontend/input_interpreter.h
rename to src/core/hid/input_interpreter.h
diff --git a/src/yuzu/applets/qt_web_browser.cpp b/src/yuzu/applets/qt_web_browser.cpp
index da8c6882a..24d72a496 100644
--- a/src/yuzu/applets/qt_web_browser.cpp
+++ b/src/yuzu/applets/qt_web_browser.cpp
@@ -15,7 +15,7 @@
 
 #include "common/fs/path_util.h"
 #include "core/core.h"
-#include "core/frontend/input_interpreter.h"
+#include "core/hid/input_interpreter.h"
 #include "input_common/keyboard.h"
 #include "input_common/main.h"
 #include "yuzu/applets/qt_web_browser.h"