Use define for japanese keyboard type

This commit is contained in:
Armin Novak 2022-04-19 11:02:35 +02:00 committed by akallabeth
parent 1f9916eba2
commit 8b011b6c3b

View File

@ -108,7 +108,7 @@ BOOL freerdp_connect(freerdp* instance)
if (settings->KeyboardLayout == KBD_JAPANESE ||
settings->KeyboardLayout == KBD_JAPANESE_INPUT_SYSTEM_MS_IME2002)
{
settings->KeyboardType = 7;
settings->KeyboardType = KBD_TYPE_JAPANESE;
settings->KeyboardSubType = 2;
settings->KeyboardFunctionKey = 12;
}