JSIsAxisAllocated3
Axis number validation
Usage
#include <jsw.h>
int JSIsAxisAllocated(
js_data_struct *jsd,
int n
)
Arguments
- jsd
-
Specifies the pointer to the joystick data structure, which should have been set up by a prior call to JSInit.
- n
-
Specifies the axis number.
Overview
The JSIsAxisAllocated function checks if the given axis number n exists on the given jsd structure.
Return value
The JSIsAxisAllocated function returns zero if the axis does not exist or 1 if the axis does exist.
Releases
4 releases since Debian 3.0 (Woody); the text changed 1 time.