yuzu: Improve behavior when clicking on controller box in Controller applet

- Apply changes on Controller configuration of commit d037853 to Controller applet
  - Fix regression of this previous commit:
  Enabling a controller in its tab did not activate previous controllers

Signed-off-by: flodavid <fl.david.53@gmail.com>
This commit is contained in:
flodavid 2023-10-15 22:20:37 +02:00
parent 66bb83bf32
commit 302836f670
5 changed files with 87 additions and 40 deletions

View file

@ -100,6 +100,10 @@ private:
// Updates the console mode.
void UpdateDockedState(bool is_handheld);
// Enable preceding controllers or disable following ones
void PropagatePlayerNumberChanged(size_t player_index, bool checked,
bool reconnect_current = false);
// Disables and disconnects unsupported players based on the given parameters.
void DisableUnsupportedPlayers();