Explorar o código

Automatically disable joycons docked

when docked mode is enable
greggameplayer %!s(int64=7) %!d(string=hai) anos
pai
achega
6d2adb0bc0
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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) {
 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;
     }
     }