Fix issue on qwertz keyboard layouts where the first key input after opening the console would be ignored
This seems like a hack, but I think it's the intended way to do this?
This commit is contained in:
parent
646935edb3
commit
3fb134f814
@ -1434,6 +1434,8 @@ void GameView::OnKeyPress(int key, int scan, bool repeat, bool shift, bool ctrl,
|
||||
switch(scan)
|
||||
{
|
||||
case SDL_SCANCODE_GRAVE:
|
||||
SDL_StopTextInput();
|
||||
SDL_StartTextInput();
|
||||
c->ShowConsole();
|
||||
break;
|
||||
case SDL_SCANCODE_SPACE: //Space
|
||||
|
Loading…
Reference in New Issue
Block a user