remove references to SDL_GetModState();

changed
word Key_modifiers(SDLMod mod);
to
word Get_Key_modifiers(void);
This commit is contained in:
Thomas Bernard
2018-06-11 00:46:14 +02:00
parent 7f1a747d1e
commit bf29a6837c
7 changed files with 23 additions and 34 deletions

View File

@@ -79,13 +79,7 @@ word Key_for_scancode(word scancode);
const char * Key_name(word key);
/*!
Gets the modifiers in our format from the SDL_Mod information.
Gets the Key modifiers in our format
Returns a combination of ::MOD_SHIFT, ::MOD_ALT, ::MOD_CTRL
@param mod SDL modifiers state
*/
#if defined(USE_SDL)
word Key_modifiers(SDLMod mod);
#elif defined(USE_SDL2)
word Key_modifiers(SDL_Keymod mod);
#endif
word Get_Key_modifiers(void);