chore(common): use new namespace km_vk in kmdecomp

This commit is contained in:
Sabine 2025-07-17 11:27:49 +02:00
parent 9a8e0523f9
commit e2ed50293b
2 changed files with 5 additions and 1 deletions

View file

@ -53,7 +53,7 @@ namespace km_vk {
#define VK_EXECUTE 0x2B
#define VK_SNAPSHOT 0x2C
#define VK_INSERT 0x2D
//#define VK_DECIMAL 0x2E // _S2 if I use it here kmdecomp complains because of duplicate macro definition here and in WinUser.h
#define VK_DECIMAL 0x2E // _S2 if I use it here kmdecomp complains because of duplicate macro definition here and in WinUser.h
#define VK_KEY_0 0x30
#define VK_KEY_1 0x31

View file

@ -24,6 +24,10 @@
#include "../../../common/windows/cpp/include/keymanversion.h"
#include "../../../common/windows/cpp/include/legacy_kmx_memory.h"
#include "../../../common/windows/cpp/include/legacy_kmx_file.h"
#include "../../../common/include/keyman_vkey.h"
using namespace km_vk;
BOOL LoadKeyboard(LPSTR fileName, LPKEYBOARD *lpKeyboard, LPBYTE *lpBitmap, DWORD *cbBitmap);