Commit 3f00fa16c656d0651c43720d8f84138ac3b998ee

Sam Lantinga 2023-03-09T16:10:04

Wait for the GCController framework to see IOKit devices It occasionally takes a few millseconds for the GCController framework to handle the device notification and set up the device Fixes the duplicate controller issue in https://github.com/libsdl-org/SDL/issues/6686 (cherry picked from commit 645823fc901c98b688512d3b3e70cc8922e8140c)