mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #675 from turtleli/fix-ctrl-and-shift-detection
windows: Fix detection of Ctrl and Shift key presses
This commit is contained in:
commit
07648d9ea6
|
@ -25,9 +25,11 @@ int TranslateVKToWXK(u32 keysym)
|
||||||
switch (keysym)
|
switch (keysym)
|
||||||
{
|
{
|
||||||
// Shift, Control, Alt and Menu
|
// Shift, Control, Alt and Menu
|
||||||
|
case VK_SHIFT:
|
||||||
case VK_LSHIFT:
|
case VK_LSHIFT:
|
||||||
case VK_RSHIFT: key_code = WXK_SHIFT; break;
|
case VK_RSHIFT: key_code = WXK_SHIFT; break;
|
||||||
|
|
||||||
|
case VK_CONTROL:
|
||||||
case VK_LCONTROL:
|
case VK_LCONTROL:
|
||||||
case VK_RCONTROL: key_code = WXK_CONTROL; break;
|
case VK_RCONTROL: key_code = WXK_CONTROL; break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue