1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

fix pause key

This commit is contained in:
FunkyFr3sh 2023-08-13 02:03:17 +02:00
parent 5412deb27e
commit 38453e3a09

View File

@ -1080,6 +1080,10 @@ WORD TConfigForm::GetKeyCode(System::UnicodeString key)
return VK_SNAPSHOT;
}
if (key == L"Pause_") {
return VK_PAUSE;
}
if (key == L"R " + ShortCutToText(VK_MENU)) {
return VK_RMENU;
}
@ -1097,6 +1101,10 @@ System::UnicodeString TConfigForm::GetKeyText(WORD key)
return L"PrtScn";
}
if (key == VK_PAUSE) {
return L"Pause_";
}
if (key == VK_RMENU) {
return L"R " + ShortCutToText(VK_MENU);
}