Wiki Page Content

Differences between revisions 8 and 9
Revision 8 as of 2015-05-31 19:49:51
Size: 980
Comment: Removed ???.
Revision 9 as of 2015-08-18 20:47:28
Size: 786
Comment: Moved link into Remarks, removed Related Structures and requesting comment.
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
''You can add useful comments here''

== Related Structures ==
 .[[SDL_HapticDirection]]
/* <<Color2(col=green,text="No other function page includes this section so it should be deleted when major editing is done. Should this information be included in the Remarks instead?")>> */
The number of haptic axes might be useful if working with the [[SDL_HapticDirection]] effect.

DRAFT

SDL_HapticNumAxes

Use this function to get the number of haptic axes the device has.

Syntax

int SDL_HapticNumAxes(SDL_Haptic* haptic)

Function Parameters

haptic

the SDL_Haptic device to query

Return Value

Returns the number of axes 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

The number of haptic axes might be useful if working with the SDL_HapticDirection effect.


CategoryAPI, CategoryForceFeedback

None: SDL_HapticNumAxes (last edited 2015-08-18 20:47:28 by PhilippWiesemann)

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