Automatically disable joycons docked

when docked mode is enable
This commit is contained in:
greggameplayer 2018-11-22 01:24:39 +01:00 committed by GitHub
parent ec38b4e883
commit 6d2adb0bc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,6 +93,10 @@ void ConfigureInput::CallConfigureDialog(Args&&... args) {
}
void ConfigureInput::OnDockedModeChanged(bool last_state, bool new_state) {
if (ui->use_docked_mode->isChecked() && ui->handheld_connected->isChecked()){
ui->handheld_connected->setChecked(false);
}
if (last_state == new_state) {
return;
}