Skip to content
Permalink
Browse files

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

  • Loading branch information
DavidLudwig committed Oct 25, 2014
1 parent ed2fff6 commit e057c7dd1267f847ae2e77bc10f4180d5123550c
Showing with 2 additions and 0 deletions.
  1. +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;
}

0 comments on commit e057c7d

Please sign in to comment.