From e057c7dd1267f847ae2e77bc10f4180d5123550c Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Sat, 25 Oct 2014 08:54:23 -0400 Subject: [PATCH] WinRT: Fixed bug whereby key-detection code could call SDL_Log --- src/video/winrt/SDL_winrtkeyboard.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/winrt/SDL_winrtkeyboard.cpp b/src/video/winrt/SDL_winrtkeyboard.cpp index 7e7049e99..686f39e69 100644 --- a/src/video/winrt/SDL_winrtkeyboard.cpp +++ b/src/video/winrt/SDL_winrtkeyboard.cpp @@ -305,9 +305,11 @@ TranslateKeycode(int keycode, unsigned int nativeScancode) scancode = windows_scancode_table[nativeScancode]; } } + /* if (scancode == SDL_SCANCODE_UNKNOWN) { SDL_Log("WinRT TranslateKeycode, unknown keycode=%d\n", (int)keycode); } + */ return scancode; }