Fix Alt modifier on Windows Auto-Type

* Fixes #10791
This commit is contained in:
Jonathan White 2024-05-22 19:14:07 -04:00
parent e7aa09276e
commit 2a62000b28

View File

@ -234,6 +234,8 @@ WORD WinUtils::qtToNativeKeyCode(Qt::Key key)
return VK_SHIFT; // 0x10 return VK_SHIFT; // 0x10
case Qt::Key_Control: case Qt::Key_Control:
return VK_CONTROL; // 0x11 return VK_CONTROL; // 0x11
case Qt::Key_Alt:
return VK_MENU; // 0x12
case Qt::Key_Pause: case Qt::Key_Pause:
return VK_PAUSE; // 0x13 return VK_PAUSE; // 0x13
case Qt::Key_CapsLock: case Qt::Key_CapsLock: