From 2aff860e3dde3ba298d1c9aaa76658d694f40afc Mon Sep 17 00:00:00 2001 From: Andrey Nekrasov Date: Wed, 6 Sep 2023 15:54:52 +0200 Subject: [PATCH] [KBM]Display VK_SUBTRACT key as "- (Substract)" to distinguish from VK_OEM_MINUS ("-") (#28271) --- src/common/interop/keyboard_layout.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/interop/keyboard_layout.cpp b/src/common/interop/keyboard_layout.cpp index 6b40b66024..afac8fe141 100644 --- a/src/common/interop/keyboard_layout.cpp +++ b/src/common/interop/keyboard_layout.cpp @@ -145,6 +145,7 @@ void LayoutMap::LayoutMapImpl::UpdateLayout() keyboardLayoutMap[VK_RETURN | numpadOriginBit] = L"Enter (Numpad)"; keyboardLayoutMap[VK_DIVIDE | numpadOriginBit] = L"/ (Numpad)"; + keyboardLayoutMap[VK_SUBTRACT] = L"- (Substract)"; keyboardLayoutMap[VK_SELECT] = L"Select"; keyboardLayoutMap[VK_PRINT] = L"Print"; keyboardLayoutMap[VK_EXECUTE] = L"Execute";