Merge pull request #966 from WagicProject/key_bind_changes
Key bind changes
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user