From 7b46a85cec1c0e7cd5a605c1eb476fe0aff9e354 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 4 Aug 2023 03:43:26 +0200 Subject: [PATCH] source/Platform/Win32/Win32Keyboard.cpp: Fixing some keycodes that where wrong. --- source/Platform/Win32/Win32Keyboard.cpp | 46 ++++++++++++------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/source/Platform/Win32/Win32Keyboard.cpp b/source/Platform/Win32/Win32Keyboard.cpp index e309675..a9697e1 100644 --- a/source/Platform/Win32/Win32Keyboard.cpp +++ b/source/Platform/Win32/Win32Keyboard.cpp @@ -14,29 +14,29 @@ static const BYTE keyToWin32[Keyboard::Key::NUM_KEYS] = { 0x41, // A 0x42, // B 0x43, // C - 0x42, // D - 0x43, // E - 0x44, // F - 0x45, // G - 0x46, // H - 0x47, // I - 0x48, // J - 0x49, // K - 0x50, // L - 0x51, // M - 0x52, // N - 0x53, // O - 0x54, // P - 0x55, // Q - 0x56, // R - 0x57, // S - 0x58, // T - 0x59, // U - 0x60, // V - 0x61, // W - 0x62, // X - 0x63, // Y - 0x64, // Z + 0x44, // D + 0x45, // E + 0x46, // F + 0x47, // G + 0x48, // H + 0x49, // I + 0x4A, // J + 0x4B, // K + 0x4C, // L + 0x4D, // M + 0x4E, // N + 0x4F, // O + 0x50, // P + 0x51, // Q + 0x52, // R + 0x53, // S + 0x54, // T + 0x55, // U + 0x56, // V + 0x57, // W + 0x58, // X + 0x59, // Y + 0x5A, // Z 0x30, // One 0x31, // Two