GetKeyName: Fixed incorrect return value
This commit is contained in:
parent
ccb2731e73
commit
06d6e59ac8
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ string ControlManager::GetKeyName(uint32_t keyCode)
|
|||
if(_keyManager != nullptr) {
|
||||
return _keyManager->GetKeyName(keyCode);
|
||||
}
|
||||
return 0;
|
||||
return "";
|
||||
}
|
||||
|
||||
uint32_t ControlManager::GetKeyCode(string keyName)
|
||||
|
|
Loading…
Add table
Reference in a new issue