mirror of
https://github.com/libretro/Play-.git
synced 2024-11-27 18:50:28 +00:00
Display POV hat binding value.
This commit is contained in:
parent
e473daaec6
commit
2b53dd29d4
@ -384,9 +384,11 @@ void CInputBindingManager::CPovHatBinding::ProcessEvent(const BINDINGTARGET& tar
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user