Commit e057c7dd1267f847ae2e77bc10f4180d5123550c

David Ludwig 2014-10-25T08:54:23

WinRT: Fixed bug whereby key-detection code could call SDL_Log

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/video/winrt/SDL_winrtkeyboard.cpp b/src/video/winrt/SDL_winrtkeyboard.cpp
index 7e7049e..686f39e 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;
 }