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

- Apply changes on Controller configuration of commit 9524d70 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 1a4abd184f
commit 0b7593d352
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();