Add default values for Lightbar sliders and checkbox, per-game config (#2454)

* Update control_settings.cpp

* Add default for per game config checkbox as well
This commit is contained in:
rainmakerv2 2025-02-17 18:36:56 +08:00 committed by GitHub
parent e9b44af469
commit 679f8f1f36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -306,6 +306,12 @@ void ControlSettings::SetDefault() {
ui->LeftDeadzoneSlider->setValue(2);
ui->RightDeadzoneSlider->setValue(2);
ui->RSlider->setValue(0);
ui->GSlider->setValue(0);
ui->BSlider->setValue(255);
ui->LightbarCheckBox->setChecked(false);
ui->PerGameCheckBox->setChecked(false);
}
void ControlSettings::AddBoxItems() {