Move NKCodeFrom*.h into the relevant platform folders

This commit is contained in:
Cameron Cawley 2019-08-06 16:12:19 +01:00
parent 9b30e5393d
commit ba7ea39a1c
5 changed files with 6 additions and 10 deletions

View File

@ -1,7 +1,9 @@
#pragma once
#include "util/const_map.h"
#include <map>
// TODO: Add any missing keys
// TODO: Add any missing keys
static const std::map<int, int> KeyMapRawQttoNative = InitConstMap<int, int>
(Qt::Key_P, NKCODE_P)
(Qt::Key_O, NKCODE_O)

View File

@ -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"

View File

@ -3,7 +3,7 @@
#include "util/const_map.h"
#include <map>
// TODO: Add any missing keys
// TODO: Add any missing keys
static const std::map<int, int> KeyMapRawSDLtoNative = InitConstMap<int, int>
(SDLK_UNKNOWN, NKCODE_UNKNOWN)
(SDLK_p, NKCODE_P)

View File

@ -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"

View File

@ -505,12 +505,6 @@
<ClInclude Include="..\..\ext\native\base\NativeApp.h">
<Filter>base</Filter>
</ClInclude>
<ClInclude Include="..\..\ext\native\base\NKCodeFromQt.h">
<Filter>base</Filter>
</ClInclude>
<ClInclude Include="..\..\ext\native\base\NKCodeFromSDL.h">
<Filter>base</Filter>
</ClInclude>
<ClInclude Include="..\..\ext\native\base\stringutil.h">
<Filter>base</Filter>
</ClInclude>