mirror of https://github.com/encounter/SDL.git
WinRT: Fixed bug whereby key-detection code could call SDL_Log
This commit is contained in:
parent
ed2fff6bef
commit
e057c7dd12
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue