SetAxisSensitivity

void SetAxisSensitivity(string axisName, float sensitivity) void SetAxisSensitivity(int axisHash, float sensitivity)

Parameters

axisName: The name of the axis you want to change the sensitivity value for. axisHash: The hashcode of the name of the axis you want to change the sensitivity value for. sensitivity: The value to assign as the sensitivity.

Description

Sets the sensitivity for the axis. This will override cInput's global sensitivity value.

This value can also be set during the initial axis creation using SetAxis().

Example

Last updated