Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-03-22 04:41:45
Size: 815
Editor: SheenaSmith
Comment: create page, add content (Rev 5321)
Revision 2 as of 2010-09-03 17:12:20
Size: 833
Editor: SheenaSmith
Comment: update content - standard return value
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
Returns the index of the ^specified^ haptic device, or -1 on failure; call [[SDL_GetError]]() for more information. Returns the index of the ^specified^ haptic device or a negative error code on failure; call [[SDL_GetError]]() for more information.

DRAFT

SDL_HapticIndex

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

Syntax

int SDL_HapticIndex(SDL_Haptic* haptic)

Function Parameters

haptic

a pointer to the 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


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