Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-10-11 22:45:48
Size: 824
Editor: SheenaSmith
Comment: update content - pointers, structs
Revision 4 as of 2016-07-15 20:17:47
Size: 886
Comment: Added Version section.
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:
== Version ==
This function is available since SDL 2.0.0.

DRAFT

SDL_HapticIndex

Use this function to get the index of a haptic device.

Syntax

int SDL_HapticIndex(SDL_Haptic* haptic)

Function Parameters

haptic

the SDL_Haptic device to get the index of query

Return Value

Returns the index of the specified haptic device 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_HapticIndex (last edited 2016-07-15 20:19:00 by PhilippWiesemann)

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