mirror of https://github.com/PCSX2/pcsx2.git
windows: Fix detection of Ctrl and Shift key presses
Credit for this fix goes to @poodle111
Commit 760de9915b
broke the detection of
Ctrl and Shift key presses since it misses the VK_CONTROL and VK_SHIFT
virtual keys.
This commit is contained in:
parent
f2c77ffa08
commit
83076af25a
|
@ -25,9 +25,11 @@ int TranslateVKToWXK(u32 keysym)
|
|||
switch (keysym)
|
||||
{
|
||||
// Shift, Control, Alt and Menu
|
||||
case VK_SHIFT:
|
||||
case VK_LSHIFT:
|
||||
case VK_RSHIFT: key_code = WXK_SHIFT; break;
|
||||
|
||||
case VK_CONTROL:
|
||||
case VK_LCONTROL:
|
||||
case VK_RCONTROL: key_code = WXK_CONTROL; break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue