Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

aim_curve

Function aim_curve 

Source
pub const fn aim_curve(value: i16) -> i16
Expand description

Fine-aim response shared by first-person games.

The centre is deliberately gentle while full deflection remains near the full input range: 45% linear plus 55% cubic. This is the response used by hl-psx, promoted here so other PSoXide games do not grow subtly different controller curves.