DRAFT |
SDL_HapticIndex
Use this function to get the index of a haptic device.
Contents
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 -1 on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
