Browse Source
Merge pull request #1768 from greggameplayer/patch-2
Uncheck automatically joycons docked when docked mode is enable
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
src/yuzu/configuration/configure_input.cpp
|
|
|
@ -89,6 +89,10 @@ ConfigureInput::ConfigureInput(QWidget* parent) |
|
|
|
} |
|
|
|
|
|
|
|
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; |
|
|
|
} |
|
|
|
|