cf_binding_value¶
Category: binding
GitHub: cute_binding.h
Returns the analog value of the binding, dispatching by handle type.
| Parameters | Description |
|---|---|
x |
A CF_ButtonBinding, CF_AxisBinding, or CF_StickBinding handle. |
Remarks¶
This is a C11 _Generic macro. Returns float for button/axis, CF_V2 for stick. In C++ use the overloaded binding_value() functions in namespace Cute.
Related Pages¶
cf_button_binding_value
cf_axis_binding_value
cf_stick_binding_value
cf_binding_pressed
cf_binding_released
cf_binding_sign