Browse Source

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

David Ludwig 10 years ago
parent
commit
e057c7dd12
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/video/winrt/SDL_winrtkeyboard.cpp

+ 2 - 0
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;
 }