disable right shift

This commit is contained in:
FunkyFr3sh 2023-08-13 01:20:02 +02:00
parent 5b82ffbb96
commit 2f7646c6d1
2 changed files with 3 additions and 5 deletions

View file

@ -1080,10 +1080,6 @@ WORD TConfigForm::GetKeyCode(System::UnicodeString key)
return VK_RCONTROL;
}
if (key == L"R " + ShortCutToText(VK_SHIFT)) {
return VK_RSHIFT;
}
return TextToShortCut(key);
}
@ -1102,7 +1098,7 @@ System::UnicodeString TConfigForm::GetKeyText(WORD key)
}
if (key == VK_RSHIFT) {
return L"R " + ShortCutToText(VK_SHIFT);
return ShortCutToText(VK_SHIFT);
}
return ShortCutToText(key);