-
-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Unlike a wired controller, input from wireless controllers (Wavebird, BlueRetro, etc.) is not available immediately on boot. This renders the shortcut button functionality unusable.
If we include support for config files, we could add an option flag to wait for a button to be pressed. Perhaps with a timeout. Regardless, this may be a generally useful option. For example, people who would rather not (or are incapable of) holding a controller button and pressing the power button at the same time.
I thought about using PAD_Read() and PAD_ERR_NO_CONTROLLER to detect if a controller is present, enabling us to optionally wait for a controller. However, according to this comment by @darthcloud:
data is sent as soon console is power on ... So blueretro simulated controller are present right away at boot.
I assume this means libogc will see the controller as present before the wireless controller is connected. However, that was 10 months ago so not sure if that is still the case. Also, AFAIK GameCube does support hot swapping of controllers so I wonder if the GameCube specific BlueRetro firmware does not or could not simulate the controller until it is connected. I digress.