Skip to content

Commit

Permalink
WinRT: Fixed bug whereby key-detection code could call SDL_Log
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Oct 25, 2014
1 parent ed2fff6 commit e057c7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/winrt/SDL_winrtkeyboard.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit e057c7d

Please sign in to comment.