Skip to content

CF_HapticLeftRight

Category: haptic
GitHub: cute_haptics.h


The leftright haptic allows direct control of one larger and one smaller freqeuncy motors, as commonly found in game controllers.

Struct Members Description
int duration_milliseconds The delay between attack and fade in the envelope (see CF_HapticEnvelope for more details).
float lo_motor_strength From 0.0f to 1.0f.
float hi_motor_strength From 0.0f to 1.0f.

CF_Haptic
CF_HapticType
cf_haptic_open
cf_haptic_close
CF_HapticEffect
cf_haptic_create_effect