cf_haptic_rumble_play¶
Category: haptic
GitHub: cute_haptics.h
Starts playing a simple rumble effect
Parameters | Description |
---|---|
haptic | The haptic. |
strength | Must be from 0.0f to 1.0f. How strong the rumble is. |
duration_milliseconds | The duration of the rumble in milliseconds. |
Remarks¶
Successive calls on this function will update the underlying rumble effect, instead of creating and playing multiple different effect instances.
Related Pages¶
CF_Haptic
cf_haptic_open
cf_haptic_rumble_supported
cf_haptic_rumble_stop