Przeglądaj źródła

Automatically disable joycons docked

when docked mode is enable
greggameplayer 7 lat temu
rodzic
commit
6d2adb0bc0
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      src/yuzu/configuration/configure_input.cpp

+ 4 - 0
src/yuzu/configuration/configure_input.cpp

@@ -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;
     }