Wiki Page Content

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)

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