mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	config: Read connected setting for controllers
Currently yuzu will read the mapping but does not connect a controller despite adding subsequent configurations for it. Read the `connected` setting for now as a boolean like the Qt frontend.
This commit is contained in:
		@@ -278,6 +278,9 @@ void Config::ReadValues() {
 | 
				
			|||||||
            if (Settings::values.players.GetValue()[p].analogs[i].empty())
 | 
					            if (Settings::values.players.GetValue()[p].analogs[i].empty())
 | 
				
			||||||
                Settings::values.players.GetValue()[p].analogs[i] = default_param;
 | 
					                Settings::values.players.GetValue()[p].analogs[i] = default_param;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        Settings::values.players.GetValue()[p].connected =
 | 
				
			||||||
 | 
					            sdl2_config->GetBoolean(group, "connected", false);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ReadSetting("ControlsGeneral", Settings::values.mouse_enabled);
 | 
					    ReadSetting("ControlsGeneral", Settings::values.mouse_enabled);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user