Skip to content

Commit

Permalink
chore(linux): undo changes in comments of VKScancodes
Browse files Browse the repository at this point in the history
  • Loading branch information
SabineSIL committed Aug 14, 2024
1 parent 58c1e50 commit a77a0d3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions windows/src/engine/keyman32/VKScanCodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ UINT USVirtualKeyToScanCode[256] =
0x00, // L"K_?00", // &H0
0x00, // L"K_LBUTTON", // &H1
0x00, // L"K_RBUTTON", // &H2
0x46, // L"K_CANCEL", // &H3
0x46, // L"K_CANCE0x00, // L", // &H3
0x00, // L"K_MBUTTON", // &H4
0x00, // L"K_?05", // &H5
0x00, // L"K_?06", // &H6
Expand All @@ -37,7 +37,7 @@ UINT USVirtualKeyToScanCode[256] =
0x00, // L"K_?0E", // &HE
0x00, // L"K_?0F", // &HF
0x2A, // L"K_SHIFT", // &H10
0x1D, // L"K_CONTROL", // &H11
0x1D, // L"K_CONTRO0x00, // L", // &H11
0x38, // L"K_ALT", // &H12
0x00, // L"K_PAUSE", // &H13
0x3A, // L"K_CAPS", // &H14
Expand Down Expand Up @@ -167,8 +167,8 @@ UINT USVirtualKeyToScanCode[256] =
0x00, // L"K_?8E", // &H8E
0x00, // L"K_?8F", // &H8F

0x45, // L"K_NUMLOCK", // &H90
0x46, // L"K_SCROLL", // &H91
0x45, // L"K_NUMLOCK", // &H90
0x46, // L"K_SCROL0x00, // L", // &H91

0x00, // L"K_?92", // &H92
0x00, // L"K_?93", // &H93
Expand Down Expand Up @@ -212,7 +212,7 @@ UINT USVirtualKeyToScanCode[256] =
0x00, // L"K_?B9", // &HB9

0x27, // L"K_COLON", // &HBA
0x0D, // L"K_EQUAL", // &HBB
0x0D, // L"K_EQUA0x00, // L", // &HBB
0x33, // L"K_COMMA", // &HBC
0x0C, // L"K_HYPHEN", // &HBD
0x34, // L"K_PERIOD", // &HBE
Expand Down
4 changes: 2 additions & 2 deletions windows/src/engine/mcompile/mc_savekeyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ DWORD WriteCompiledKeyboard(LPKEYBOARD fk, HANDLE hOutfile, BOOL FSaveDebug)
size += wcslen(fkp->dpContext)*2 + 2;
}

if (fgp->dpMatch ) size += wcslen(fgp->dpMatch)*2 + 2;
if (fgp->dpNoMatch ) size += wcslen(fgp->dpNoMatch)*2 + 2;
if( fgp->dpMatch ) size += wcslen(fgp->dpMatch)*2 + 2;
if( fgp->dpNoMatch ) size += wcslen(fgp->dpNoMatch)*2 + 2;
}

for(i = 0; i < fk->cxStoreArray; i++)
Expand Down
8 changes: 4 additions & 4 deletions windows/src/global/cpp/VKScanCodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const UINT USVirtualKeyToScanCode[256] =
0x00, // L"K_?0E", // &HE
0x00, // L"K_?0F", // &HF
0x2A, // L"K_SHIFT", // &H10
0x1D, // L"K_CONTROL", // &H11
0x1D, // L"K_CONTRO0x00, // L", // &H11
0x38, // L"K_ALT", // &H12
0x00, // L"K_PAUSE", // &H13
0x3A, // L"K_CAPS", // &H14
Expand Down Expand Up @@ -168,8 +168,8 @@ const UINT USVirtualKeyToScanCode[256] =
0x00, // L"K_?8E", // &H8E
0x00, // L"K_?8F", // &H8F

0x45, // L"K_NUMLOCK", // &H90
0x46, // L"K_SCROLL", // &H91
0x45, // L"K_NUMLOCK", // &H90
0x46, // L"K_SCROL0x00, // L", // &H91

0x00, // L"K_?92", // &H92
0x00, // L"K_?93", // &H93
Expand Down Expand Up @@ -213,7 +213,7 @@ const UINT USVirtualKeyToScanCode[256] =
0x00, // L"K_?B9", // &HB9

0x27, // L"K_COLON", // &HBA
0x0D, // L"K_EQUAL", // &HBB
0x0D, // L"K_EQUA0x00, // L", // &HBB
0x33, // L"K_COMMA", // &HBC
0x0C, // L"K_HYPHEN", // &HBD
0x34, // L"K_PERIOD", // &HBE
Expand Down

0 comments on commit a77a0d3

Please sign in to comment.