Wiki Page Content

Revision 1 as of 2010-03-22 04:05:53

Clear message

DRAFT

SDL_HapticName

Use this function to get the implementation dependent name of a Haptic device.

Syntax

const char* SDL_HapticName(int device_index)

Function Parameters

device_index

index of the device to get it's name the name of / to query

Return Value

Returns the name of the device or NULL on error.

Code Examples

You can add your code example here

Remarks

This can be called before any joysticks are opened. If no name can be found, this function returns NULL.


CategoryAPI, CategoryForceFeedback

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