Wiki Page Content

DRAFT

SDL_NumHaptics

Use this function to count the number of 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

Version

This function is available since SDL 2.0.0.


CategoryAPI, CategoryForceFeedback

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

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