|
Size: 672
Comment: minor change for consistency - error to failure in RV
|
← 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 failure. | 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.
Contents
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.
