Display POV hat binding value.

This commit is contained in:
Jean-Philip Desjardins 2018-11-20 17:40:04 -05:00
parent e473daaec6
commit 2b53dd29d4

View File

@ -384,9 +384,11 @@ void CInputBindingManager::CPovHatBinding::ProcessEvent(const BINDINGTARGET& tar
m_value = value; m_value = value;
} }
std::string CInputBindingManager::CPovHatBinding::GetDescription(CInputBindingManager*) const std::string CInputBindingManager::CPovHatBinding::GetDescription(CInputBindingManager* inputBindingManager) const
{ {
return "CPovHatBinding"; return string_format("%s - %d",
inputBindingManager->GetTargetDescription(m_binding).c_str(),
m_refValue);
} }
uint32 CInputBindingManager::CPovHatBinding::GetValue() const uint32 CInputBindingManager::CPovHatBinding::GetValue() const