man JSDriverQueryVersion (Fonctions bibliothèques) - Driver version retrieving
NAME
JSDriverQueryVersion - Driver version retrieving
SYNTAX
#include <jsw.h>
int JSDriverQueryVersion(
js_data_struct *jsd,
int *major_rtn,
int *minor_rtn,
int *release_rtn
)
ARGUMENTS
- jsd
- Specifies the pointer to the joystick data structure, which should have been set up by a prior call to JSInit.
- major_rtn
- Specifies the return for the major version number.
- minor_rtn
- Specifies the return for the minor version number.
- release_rtn
- Specifies the return for the release number.
DESCRIPTION
The JSDriverQueryVersion function fetches the parsed version number of the joystick driver (not the version of this library).
RETURN VALUE
The JSDriverVersion function returns 1 on success and 0 on failure.