From 38453e3a091a76832b967f9b401d732354d222d5 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Sun, 13 Aug 2023 02:03:17 +0200 Subject: [PATCH] fix pause key --- config/ConfigFormUnit.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/ConfigFormUnit.cpp b/config/ConfigFormUnit.cpp index d6f1d6e..2a7974d 100644 --- a/config/ConfigFormUnit.cpp +++ b/config/ConfigFormUnit.cpp @@ -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); }