VgaGames 3 - Event man-pages

[.. upper level ..]

VG3_gamecontroller_getall()

Returns number and joystick-IDs of found gamecontrollers/joysticks.
SYNTAX
int VG3_gamecontroller_getall(struct vg3_window *wstruct, int **rjid)

FUNCTION PARAMETERS
wstruct Window-struct
rjid For returning number and joystick-IDs
The return value is an allocated array of integers,
the first element contains the number of gamecontrollers/joysticks,
the following elements contain their joystick-ID.
(This parameter may be NULL).

RETURN VALUE
Returns number of found gamecontrollers/joysticks.

DESCRIPTION
Returns number and joystick-IDs of found gamecontrollers/joysticks. E.g. if there are two gamecontrollers or joysticks connected, the parameter rjid will return: {2, <id of first>, <id of second>}.

SEE ALSO
VG3_gamecontroller_getinfo()