Wiki Page Content

Differences between revisions 2 and 6 (spanning 4 versions)
Revision 2 as of 2010-09-24 22:55:12
Size: 670
Editor: SheenaSmith
Comment: correct typo
Revision 6 as of 2016-07-07 20:51:23
Size: 776
Comment: Added Version section.
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
#pragma disable-camelcase #pragma camelcase off
Line 16: Line 16:
Returns the haptic device identifier or NULL on error. Returns the haptic device identifier or NULL on failure; call [[SDL_GetError]]() for more information.
Line 26: Line 26:
== Version ==
This function is available since SDL 2.0.0.

DRAFT

SDL_HapticOpenFromMouse

Use this function to try to open a haptic device from the current mouse.

Syntax

SDL_Haptic* SDL_HapticOpenFromMouse(void)

Return Value

Returns the haptic device identifier or NULL on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here

Version

This function is available since SDL 2.0.0.


CategoryAPI, CategoryForceFeedback

None: SDL_HapticOpenFromMouse (last edited 2016-07-07 20:51:23 by PhilippWiesemann)

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