mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-02 05:17:52 +00:00
Actually save the input when clearing/resetting to default
Co-Authored-By: xperia64 <xperiancedapps@gmail.com>
This commit is contained in:
parent
623b93a2b3
commit
aaa4822fcb
1 changed files with 3 additions and 0 deletions
|
@ -480,7 +480,9 @@ void ConfigureInputPlayer::RestoreDefaults() {
|
||||||
SetAnalogButton(params, analogs_param[analog_id], analog_sub_buttons[sub_button_id]);
|
SetAnalogButton(params, analogs_param[analog_id], analog_sub_buttons[sub_button_id]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateButtonLabels();
|
UpdateButtonLabels();
|
||||||
|
ApplyConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureInputPlayer::ClearAll() {
|
void ConfigureInputPlayer::ClearAll() {
|
||||||
|
@ -505,6 +507,7 @@ void ConfigureInputPlayer::ClearAll() {
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateButtonLabels();
|
UpdateButtonLabels();
|
||||||
|
ApplyConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureInputPlayer::UpdateButtonLabels() {
|
void ConfigureInputPlayer::UpdateButtonLabels() {
|
||||||
|
|
Loading…
Reference in a new issue