mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 01:18:58 +02:00
eventSdlKeyDown
Give the real SDL_KEYDOWN to the Window/Program states. This fixes issues with group keys and SDL2.
This commit is contained in:
@@ -329,6 +329,11 @@ bool Program::textInput(std::string text) {
|
||||
return programState->textInput(text);
|
||||
}
|
||||
|
||||
bool Program::sdlKeyDown(SDL_KeyboardEvent key) {
|
||||
//delegate event
|
||||
return programState->sdlKeyDown(key);
|
||||
}
|
||||
|
||||
void Program::keyDown(SDL_KeyboardEvent key) {
|
||||
if(msgBox.getEnabled()) {
|
||||
//SDL_keysym keystate = Window::getKeystate();
|
||||
|
Reference in New Issue
Block a user