Fixed hotkey behaviour

This commit is contained in:
mathusummut
2019-02-05 15:14:19 +01:00
parent 8ed2ed4132
commit 04e3404d0e
26 changed files with 188 additions and 230 deletions

View File

@@ -313,8 +313,8 @@ namespace Shared {
static wchar_t convertStringtoSDLKey(const string &value);
};
bool isKeyPressed(SDL_Keycode compareKey, SDL_KeyboardEvent input, vector<int> modifiersToCheck);
bool isKeyPressed(SDL_Keycode compareKey, SDL_KeyboardEvent input, bool modifiersAllowed = true);
bool isKey(SDL_Keycode compareKey, SDL_KeyboardEvent input, vector<int> modifiersToCheck);
bool isKey(SDL_Keycode compareKey, SDL_KeyboardEvent input, bool modifiersAllowed = true);
SDL_Keycode extractKeyPressed(SDL_KeyboardEvent input);
//bool isAllowedInputTextKey(SDL_Keycode key);