mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-25 01:57:47 +01:00
fix pause key
This commit is contained in:
parent
5412deb27e
commit
38453e3a09
@ -1080,6 +1080,10 @@ WORD TConfigForm::GetKeyCode(System::UnicodeString key)
|
|||||||
return VK_SNAPSHOT;
|
return VK_SNAPSHOT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (key == L"Pause_") {
|
||||||
|
return VK_PAUSE;
|
||||||
|
}
|
||||||
|
|
||||||
if (key == L"R " + ShortCutToText(VK_MENU)) {
|
if (key == L"R " + ShortCutToText(VK_MENU)) {
|
||||||
return VK_RMENU;
|
return VK_RMENU;
|
||||||
}
|
}
|
||||||
@ -1097,6 +1101,10 @@ System::UnicodeString TConfigForm::GetKeyText(WORD key)
|
|||||||
return L"PrtScn";
|
return L"PrtScn";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (key == VK_PAUSE) {
|
||||||
|
return L"Pause_";
|
||||||
|
}
|
||||||
|
|
||||||
if (key == VK_RMENU) {
|
if (key == VK_RMENU) {
|
||||||
return L"R " + ShortCutToText(VK_MENU);
|
return L"R " + ShortCutToText(VK_MENU);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user