diff options
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r-- | src/keyboardconfig.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h index 26b080fc4..cbadbbd33 100644 --- a/src/keyboardconfig.h +++ b/src/keyboardconfig.h @@ -71,10 +71,10 @@ class KeyboardConfig final */ void refreshActiveKeys(); - std::string getKeyShortString(const std::string &key) - const A_WARN_UNUSED; + static std::string getKeyShortString(const std::string &key) + A_WARN_UNUSED; - SDLKey getKeyFromEvent(const SDL_Event &event) const A_WARN_UNUSED; + static SDLKey getKeyFromEvent(const SDL_Event &event) A_WARN_UNUSED; int getKeyValueFromEvent(const SDL_Event &event) const A_WARN_UNUSED; @@ -82,7 +82,7 @@ class KeyboardConfig final KeysVector *getActionVectorByKey(const int i) A_WARN_UNUSED; - std::string getKeyName(const int key) const A_WARN_UNUSED; + static std::string getKeyName(const int key)A_WARN_UNUSED; bool isActionActive(const int index) const A_WARN_UNUSED; |