chore(common): use new namespace km_vk in kmx_processevent.cpp, Compiler.cpp and savekeyboard.cpp

This commit is contained in:
Sabine 2025-07-16 10:56:41 +02:00
parent 0a43883a51
commit 49d5270e29
4 changed files with 13 additions and 0 deletions

View file

@ -150,4 +150,10 @@ namespace km_vk {
#define VK_OEM_CLEAR 0xFE
/*
* VK__MAX _S2 defines the highest virtual key code defined in the system = 0xFF. Custom VK codes start at 256
*/
#define VK__MAX 255
} // namespace km_vk

View file

@ -23,6 +23,7 @@
#include "kmx_options.h"
#include "kmx_environment.h"
#include "kmx_debugger.h"
#include "../../../common/include/keyman_vkey.h"
/***************************************************************************/

View file

@ -82,6 +82,7 @@
#include "../../../../common/windows/cpp/include/keymanversion.h"
#include "../../../../common/windows/cpp/include/crc32.h"
#include "../../../../common/windows/cpp/include/ConvertUTF.h"
#include "../../../../common/include/keyman_vkey.h"
#include "debugstore.h"
#include "NamedCodeConstants.h"
@ -110,6 +111,7 @@
#define SUBLANGID(lgid) ((uint16_t)(lgid) >> 10)
using namespace kmcmp;
using namespace km_vk;
KMX_BOOL AWarnDeprecatedCode_GLOBAL_LIB;

View file

@ -31,6 +31,10 @@
#include "../../../common/windows/cpp/include/legacy_kmx_file.h"
#include "../../../common/windows/cpp/include/legacy_kmx_memory.h"
#include "../../../common/windows/cpp/include/vkeys.h"
#include "../../../common/include/keyman_vkey.h"
using namespace km_vk
#define SSN__PREFIX L"&"