The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.
Simple Directmedia Layer Forums
Different results with sdl_numjoysticks
Joined: 15 Mar 2017
Posted: Mon Mar 20, 2017 11:52 am
The function sdl_numjoysticks does not return me always the same value (at init time). I explain.
I have two computers : one with DEBIAN6.0 (where I want to use my joysticks) and one with windows (where I work usually). I am connecting to the DEBIAN computer with MobaXterm (XDMCP session).
I made a little test program to print the number of joysticks.