ref: 23252f345a7a9c8dd2733a5d7ea5fcae51a5245f
parent: 265b82b2484d01ad6b877cc93909a838bae9c319
author: Jonne Kokkonen <jonne.kokkonen@gmail.com>
date: Tue May 4 14:00:50 EDT 2021
add delay to game controller init
--- a/input.c
+++ b/input.c
@@ -44,6 +44,7 @@
int controller_index = 0;
SDL_Log("Looking for game controllers\n");+ SDL_Delay(1); // Some controllers like XBone wired need a little while to get ready
// Open all available game controllers
for (int i = 0; i < num_joysticks; i++) {if (!SDL_IsGameController(i))
--
⑨