|
Size: 934
Comment: Removed old formatting.
|
← Revision 5 as of 2016-07-15 20:32:05 ⇥
Size: 961
Comment: Added full parameter description from header file.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||'''haptic'''||the haptic device to initialize|| | ||'''haptic'''||the haptic device to initialize for simple rumble playback|| |
DRAFT |
SDL_HapticRumbleInit
Use this function to initialize the haptic device for simple rumble playback.
Contents
Syntax
int SDL_HapticRumbleInit(SDL_Haptic* haptic)
Function Parameters
haptic |
the haptic device to initialize for simple rumble playback |
Return Value
Returns 0 on success or a negative error code 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.
