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

main
David Ludwig 2014-10-25 08:54:23 -04:00
parent ed2fff6bef
commit e057c7dd12
1 changed files with 2 additions and 0 deletions

View File

@ -305,9 +305,11 @@ TranslateKeycode(int keycode, unsigned int nativeScancode)
scancode = windows_scancode_table[nativeScancode]; scancode = windows_scancode_table[nativeScancode];
} }
} }
/*
if (scancode == SDL_SCANCODE_UNKNOWN) { if (scancode == SDL_SCANCODE_UNKNOWN) {
SDL_Log("WinRT TranslateKeycode, unknown keycode=%d\n", (int)keycode); SDL_Log("WinRT TranslateKeycode, unknown keycode=%d\n", (int)keycode);
} }
*/
return scancode; return scancode;
} }