ControllerEmu: Killed the Buttons group threshold setting.

This commit is contained in:
Jordan Woyak
2018-12-31 07:31:11 -06:00
parent 5c957ec190
commit df43fd9472
4 changed files with 9 additions and 6 deletions

View File

@ -26,6 +26,7 @@
#include "DolphinQt/Settings.h"
#include "InputCommon/ControlReference/ControlReference.h"
#include "InputCommon/ControllerEmu/ControlGroup/Buttons.h"
#include "InputCommon/ControllerEmu/ControllerEmu.h"
#include "InputCommon/ControllerInterface/ControllerInterface.h"
#include "InputCommon/ControllerInterface/Device.h"
@ -81,7 +82,7 @@ MappingButton::MappingButton(MappingWidget* widget, ControlReference* ref, bool
QFont f = m_parent->font();
QPalette p = m_parent->palette();
if (state != 0)
if (state > ControllerEmu::Buttons::ACTIVATION_THRESHOLD)
{
f.setBold(true);
p.setColor(QPalette::ButtonText, Qt::red);