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);
|
str = XKeysymToString(key);
|
||||||
#elif defined (SDL_CONFIG)
|
#elif defined (SDL_CONFIG)
|
||||||
str = (char*)SDL_GetKeyName(key);
|
str = (char*)SDL_GetKeyName(key);
|
||||||
|
#elif defined (QT_CONFIG)
|
||||||
|
str = (char*)QKeySequence(key).toString().toUtf8().constData();
|
||||||
#endif
|
#endif
|
||||||
if (!str)
|
if (!str)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user