Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-09-25 00:24:00
Size: 730
Editor: SheenaSmith
Comment: correct typo
Revision 4 as of 2014-01-11 19:52:10
Size: 726
Comment: Removed *.
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
 .[[SDL_JoystickName]] *
 .[[SDL_JoystickOpen]] *
 .[[SDL_JoystickName]]
 .[[SDL_JoystickOpen]]

DRAFT

SDL_NumJoysticks

Use this function to count the number of joysticks attached to the system.

Syntax

int SDL_NumJoysticks(void)

Return Value

Returns the number of attached joysticks on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryJoystick

None: SDL_NumJoysticks (last edited 2014-01-11 19:52:10 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit