From cc54652fb3d7c7f9782d56b32a58e6f5257f6942 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 31 May 2019 08:30:32 -0400 Subject: [PATCH] IOS/USB_KBD: Migrate TODO comment above if statement Prevents some wonky formatting from occurring. --- Source/Core/Core/IOS/USB/USB_KBD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/IOS/USB/USB_KBD.cpp b/Source/Core/Core/IOS/USB/USB_KBD.cpp index 1fa661b356..606bd71276 100644 --- a/Source/Core/Core/IOS/USB/USB_KBD.cpp +++ b/Source/Core/Core/IOS/USB/USB_KBD.cpp @@ -291,8 +291,8 @@ void USB_KBD::Update() Modifiers |= 0x10; if (GetAsyncKeyState(VK_RSHIFT) & 0x8000) Modifiers |= 0x20; - if (GetAsyncKeyState(VK_MENU) & - 0x8000) // TODO: VK_MENU is for ALT, not for ALT GR (ALT GR seems to work though...) + // TODO: VK_MENU is for ALT, not for ALT GR (ALT GR seems to work though...) + if (GetAsyncKeyState(VK_MENU) & 0x8000) Modifiers |= 0x40; if (GetAsyncKeyState(VK_RWIN) & 0x8000) Modifiers |= 0x80;