mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
ControllerEmu: Killed the Buttons group threshold setting.
This commit is contained in:
@@ -24,11 +24,13 @@ public:
|
||||
{
|
||||
for (auto& control : controls)
|
||||
{
|
||||
if (control->control_ref->State() > numeric_settings[0]->GetValue()) // threshold
|
||||
if (control->control_ref->State() > ACTIVATION_THRESHOLD)
|
||||
*buttons |= *bitmasks;
|
||||
|
||||
bitmasks++;
|
||||
}
|
||||
}
|
||||
|
||||
static constexpr ControlState ACTIVATION_THRESHOLD = 0.5;
|
||||
};
|
||||
} // namespace ControllerEmu
|
||||
|
||||
Reference in New Issue
Block a user