Wiki Page Content

Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2010-03-22 04:50:48
Size: 671
Editor: SheenaSmith
Comment: create page, add content (Rev 5321)
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