mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 13:42:56 +00:00
Automatically disable joycons docked
when docked mode is enable
This commit is contained in:
parent
ec38b4e883
commit
6d2adb0bc0
|
@ -93,6 +93,10 @@ void ConfigureInput::CallConfigureDialog(Args&&... args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureInput::OnDockedModeChanged(bool last_state, bool new_state) {
|
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) {
|
if (last_state == new_state) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue