Merge pull request #966 from WagicProject/key_bind_changes

Key bind changes
This commit is contained in:
Rolzad73
2017-05-08 19:03:03 -04:00
committed by GitHub

View File

@@ -27,6 +27,8 @@ const KeyRep& translateKey(LocalKeySym key)
str = XKeysymToString(key);
#elif defined (SDL_CONFIG)
str = (char*)SDL_GetKeyName(key);
#elif defined (QT_CONFIG)
str = (char*)QKeySequence(key).toString().toUtf8().constData();
#endif
if (!str)
{