Throttle SDL logs and gate Wii rescans (#129)

* Throttle SDL logs and gate Wii rescans

* Clarify Wii remote scan state in overlay
This commit is contained in:
patchzyy
2026-09-03 23:29:49 +02:00
committed by GitHub
parent c6ef17378e
commit d3d0de62a6
3 changed files with 54 additions and 7 deletions
+3 -1
View File
@@ -102,8 +102,10 @@ void HideRemotesFromPad(PADStatus* statuses, uint32_t count);
void Poll();
// Forces one re-enumeration right now (settings overlay "Rescan now").
void RescanNow();
// True while Poll() is actively rescanning (no Wii controller connected).
// True while Poll() is looking for a remote (no Wii controller connected).
bool IsScanning();
// True where looking means periodic rescans; elsewhere Poll() waits for hotplug.
bool PeriodicRescanEnabled();
// Rescans issued since a Wii controller was last seen.
uint32_t ScanCount();