diff --git a/ext/native/base/NKCodeFromQt.h b/Qt/NKCodeFromQt.h similarity index 98% rename from ext/native/base/NKCodeFromQt.h rename to Qt/NKCodeFromQt.h index ee09d6341700..2a8714172075 100644 --- a/ext/native/base/NKCodeFromQt.h +++ b/Qt/NKCodeFromQt.h @@ -1,7 +1,9 @@ +#pragma once + #include "util/const_map.h" #include -// TODO: Add any missing keys +// TODO: Add any missing keys static const std::map KeyMapRawQttoNative = InitConstMap (Qt::Key_P, NKCODE_P) (Qt::Key_O, NKCODE_O) diff --git a/Qt/QtMain.h b/Qt/QtMain.h index 3e165a8d9f8c..bf351c84f7e0 100644 --- a/Qt/QtMain.h +++ b/Qt/QtMain.h @@ -33,7 +33,7 @@ QTM_USE_NAMESPACE #include "thin3d/thin3d.h" #include "base/NativeApp.h" #include "net/resolve.h" -#include "base/NKCodeFromQt.h" +#include "NKCodeFromQt.h" #include "Common/GraphicsContext.h" #include "Core/Core.h" diff --git a/ext/native/base/NKCodeFromSDL.h b/SDL/NKCodeFromSDL.h similarity index 98% rename from ext/native/base/NKCodeFromSDL.h rename to SDL/NKCodeFromSDL.h index 7485786d3a26..d71654c9457f 100644 --- a/ext/native/base/NKCodeFromSDL.h +++ b/SDL/NKCodeFromSDL.h @@ -3,7 +3,7 @@ #include "util/const_map.h" #include -// TODO: Add any missing keys +// TODO: Add any missing keys static const std::map KeyMapRawSDLtoNative = InitConstMap (SDLK_UNKNOWN, NKCODE_UNKNOWN) (SDLK_p, NKCODE_P) diff --git a/SDL/SDLMain.cpp b/SDL/SDLMain.cpp index 4c4a8677eb36..0d001f32ad9a 100644 --- a/SDL/SDLMain.cpp +++ b/SDL/SDLMain.cpp @@ -27,7 +27,7 @@ SDLJoystick *joystick = NULL; #include "input/input_state.h" #include "input/keycodes.h" #include "net/resolve.h" -#include "base/NKCodeFromSDL.h" +#include "NKCodeFromSDL.h" #include "util/const_map.h" #include "util/text/utf8.h" #include "math/math_util.h" diff --git a/UWP/NativeUWP/NativeUWP.vcxproj.filters b/UWP/NativeUWP/NativeUWP.vcxproj.filters index 2bda07e6a390..c1658f0e620c 100644 --- a/UWP/NativeUWP/NativeUWP.vcxproj.filters +++ b/UWP/NativeUWP/NativeUWP.vcxproj.filters @@ -505,12 +505,6 @@ base - - base - - - base - base