diff --git a/CMakeLists.txt b/CMakeLists.txt
index a3fbc25ed7..3223114e63 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -580,6 +580,7 @@ add_library(native STATIC
native/image/zim_save.h
native/input/gesture_detector.cpp
native/input/gesture_detector.h
+ native/input/input_state.cpp
native/input/keycodes.h
native/input/input_state.h
native/input/input_state.cpp
diff --git a/Common/Common.vcxproj b/Common/Common.vcxproj
index 0095221811..6663b6cb24 100644
--- a/Common/Common.vcxproj
+++ b/Common/Common.vcxproj
@@ -186,6 +186,7 @@
+
@@ -225,6 +226,7 @@
+
diff --git a/Common/Common.vcxproj.filters b/Common/Common.vcxproj.filters
index 177eccf73e..044653e788 100644
--- a/Common/Common.vcxproj.filters
+++ b/Common/Common.vcxproj.filters
@@ -46,6 +46,7 @@
Crypto
+
@@ -76,6 +77,7 @@
Crypto
+
diff --git a/Common/KeyMap.cpp b/Common/KeyMap.cpp
index 55956ac61d..4ea005343f 100644
--- a/Common/KeyMap.cpp
+++ b/Common/KeyMap.cpp
@@ -16,7 +16,7 @@
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "input/input_state.h"
-#include "Core/Config.h"
+#include "../Core/Config.h"
#include "KeyMap.h"
using namespace KeyMap;
diff --git a/Common/KeyMap.h b/Common/KeyMap.h
index c72c2d45fa..4b959f365a 100644
--- a/Common/KeyMap.h
+++ b/Common/KeyMap.h
@@ -20,7 +20,7 @@
#include
#include