mirror of
https://github.com/glest/glest-source.git
synced 2025-10-03 19:01:53 +02:00
- fixed bug in sdl where it doesn't always give the correct key modifiers.
- can now press alt-enter on intro screen
This commit is contained in:
@@ -960,6 +960,7 @@ void MainWindow::eventKeyDown(SDL_KeyboardEvent key) {
|
||||
|
||||
//SDL_keysym keystate = Window::getKeystate();
|
||||
SDL_keysym keystate = key.keysym;
|
||||
//printf("keystate.mod = %d key = %d lalt [%d] ralt [%d] alt [%d]\n",keystate.mod,key.keysym.unicode,(keystate.mod & KMOD_LALT),(keystate.mod & KMOD_RALT),(keystate.mod & KMOD_ALT));
|
||||
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d] key = [%c][%d]\n",__FILE__,__FUNCTION__,__LINE__,key,key);
|
||||
|
||||
|
Reference in New Issue
Block a user