(XDK) Try to autodetect all pads at startup

This commit is contained in:
twinaphex 2018-01-19 06:49:32 +01:00
parent 29fa91dcd0
commit f71bbeae9f

View File

@ -55,13 +55,12 @@ static void xdk_joypad_autodetect_add(unsigned autoconf_pad)
static bool xdk_joypad_init(void *data)
{
unsigned autoconf_pad;
#ifdef _XBOX1
XInitDevices(0, NULL);
#else
unsigned autoconf_pad;
#endif
for (autoconf_pad = 0; autoconf_pad < MAX_USERS; autoconf_pad++)
xdk_joypad_autodetect_add(autoconf_pad);
#endif
(void)data;