From 38c8d5714684329318b9e2d468c967f45d760535 Mon Sep 17 00:00:00 2001 From: LancenShield <56261978+LancenShield@users.noreply.github.com> Date: Mon, 9 Mar 2026 22:34:14 -0500 Subject: [PATCH] Added VK_CONTROL for same reason as VK_SHIFT. --- implementations/Crafter.Graphics-Window.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/implementations/Crafter.Graphics-Window.cpp b/implementations/Crafter.Graphics-Window.cpp index aad5bce..7aa7f1d 100644 --- a/implementations/Crafter.Graphics-Window.cpp +++ b/implementations/Crafter.Graphics-Window.cpp @@ -191,9 +191,10 @@ CrafterKeys vk_to_crafter_key(WPARAM vk) case VK_SCROLL: return CrafterKeys::ScrollLock; // Modifiers - case VK_SHIFT: return CrafterKeys::LeftShift; + case VK_SHIFT: return CrafterKeys::LeftShift; case VK_LSHIFT: return CrafterKeys::LeftShift; - case VK_RSHIFT: return CrafterKeys::RightShift; + case VK_RSHIFT: return CrafterKeys::RightShift; + case VK_CONTROL: return CrafterKeys::LeftCtrl; case VK_LCONTROL: return CrafterKeys::LeftCtrl; case VK_RCONTROL: return CrafterKeys::RightCtrl; case VK_LMENU: return CrafterKeys::LeftAlt;