ControllerEmu: Killed the Buttons group threshold setting.

This commit is contained in:
Jordan Woyak committed 2018-12-31 08:35:31 -06:00
1 parent 5c957ec190
commit df43fd9472
4 files changed
+9 -6

No files matched your search

@@ -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);