Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-03-22 04:06:50
Size: 718
Editor: SheenaSmith
Comment: added RF
Revision 3 as of 2010-09-25 00:23:42
Size: 730
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Use this function to count the number of __joysticks__ attached to the system. Use this function to count the number of ,,joysticks,, ^haptic devices^ attached to the system.
Line 16: Line 16:
Returns the number of __haptic__ devices detected on the system, or a negative error code on failure; call [[SDL_GetError]]() for more information. Returns the number of haptic devices detected on the system or a negative error code on failure; call [[SDL_GetError]]() for more information.

DRAFT

SDL_NumHaptics

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

Syntax

int SDL_NumHaptics(void)

Return Value

Returns the number of haptic devices detected on the system 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, CategoryForceFeedback

None: SDL_NumHaptics (last edited 2016-07-15 20:44:23 by PhilippWiesemann)

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