- see if this hotkey fix is ok for titi

This commit is contained in:
Mark Vejvoda
2012-11-21 18:54:50 +00:00
parent 8979219f43
commit 68d8ef11d8
3 changed files with 30 additions and 8 deletions

View File

@@ -211,7 +211,9 @@ private:
static void toggleFullscreen();
};
bool isKeyPressed(SDLKey compareKey, SDL_KeyboardEvent input, vector<int> modifiersToCheck);
bool isKeyPressed(SDLKey compareKey, SDL_KeyboardEvent input, bool modifiersAllowed=true);
SDLKey extractKeyPressed(SDL_KeyboardEvent input);
bool isAllowedInputTextKey(SDLKey key);