From e34daca27d42ea880941be78eb438a9c74dbe961 Mon Sep 17 00:00:00 2001 From: TomW Date: Sun, 4 Oct 2015 11:36:49 +0100 Subject: [PATCH] Removed bad Num Lock handling code. --- src/win.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/win.c b/src/win.c index dc06e01..f9fcf31 100644 --- a/src/win.c +++ b/src/win.c @@ -975,11 +975,6 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM // pclog("Keyboard input received: S:%X VK:%X F:%X\n", c, d, e); - if (rawKB.VKey == VK_NUMLOCK) - { - /* This is for proper handling of Pause/Break and Num Lock */ - scancode = (MapVirtualKey(rawKB.VKey, MAPVK_VK_TO_VSC) | 0x100); - } /* If it's not a scan code that starts with 0xE1 */ if (!(rawKB.Flags & RI_KEY_E1)) {