jsisbuttonallocated(3)

NAME

JSIsButtonAllocated - Button number validation

SYNTAX

#include <jsw.h>

int JSIsButtonAllocated(
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 button number.

DESCRIPTION

The JSIsButtonAllocated function checks if the given button number n exists on the given jsd structure.

RETURN VALUE

The JSIsButtonAllocated function returns zero if the button does not exist or 1 if the button does exist.

SEE ALSO

JSIntro(3) JSIsAxisAllocated(3)
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout