Dear All,
I was wondering if it might be possible to change:
unsigned int axes = sf::Joystick::AxisCount;
to:
unsigned int axes = sf::Joystick::AxisCount(joystickNumber);
such that it's possible to test exactly how many axes are available on a given joystick, or, going further with it, would it be possible to return appropriate information on a given joystick such that I'd immediately know what axes were available?
The reason why I'm suggesting this is because under macOS, irrespective of the joystick being tested, it always returns 8 as the answer to the query.
Kind regards,
AshleyF