InputCommon: Allow controller settings specified with input expresions.

This commit is contained in:
Jordan Woyak
2019-10-18 14:54:02 -05:00
parent 6a857df219
commit e8152b700f
13 changed files with 172 additions and 28 deletions

View File

@ -132,11 +132,9 @@ void MappingButton::UpdateIndicator()
if (!isActiveWindow())
return;
const auto state = m_reference->State();
QFont f = m_parent->font();
if (state > ControllerEmu::Buttons::ACTIVATION_THRESHOLD)
if (m_reference->GetState<bool>())
f.setBold(true);
setFont(f);