cf_haptic_open¶
Category: haptic
GitHub: cute_haptics.h
Attempts to open a joypad for haptics use.
Parameters | Description |
---|---|
player_index | An index represeting the joypad for a particular player, starting at 0. |
Return Value¶
Returns a new CF_Haptic.
Remarks¶
Returns NULL
upon any errors, including missing support from the underlying device.
Related Pages¶
CF_Haptic
CF_Joypad
cf_haptic_rumble_play
cf_haptic_close
cf_haptic_create_effect
cf_haptic_run_effect