JSIsAxisAllocated(3)

JSIsAxisAllocated(3) Joystick Wrapper Library JSIsAxisAllocated(3)

NAME

JSIsAxisAllocated - Axis number validation

SYNTAX

#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.

DESCRIPTION

The JSIsAxisAllocated function checks if the specified axis number n exists on the specified jsd structure.

RETURN VALUE

The JSIsAxisAllocated function returns zero if the axis does not exist or 1 if the axis does exist.

SEE ALSO

JSIntro(3) JSIsButtonAllocated(3)

Release 1.5.6 WolfPack Entertainment