Skip to content

cf_axis_binding_add_triggers

Category: binding
GitHub: cute_binding.h


Binds a negative/positive joypad axis pair (as triggers) to this axis.

void cf_axis_binding_add_triggers(CF_AxisBinding a, CF_JoypadAxis negative, CF_JoypadAxis positive, float threshold);
Parameters Description
a The axis binding handle.
negative The joypad axis for negative direction.
positive The joypad axis for positive direction.
threshold The threshold value (0..1) at which the axis counts as pressed.

CF_AxisBinding