mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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