AxisSettings
AxisSettings
- livezone_upperbound : f32
- deadzone_upperbound : f32
- deadzone_lowerbound : f32
- livezone_lowerbound : f32
- threshold : f32
Description
Settings for a [
GamepadAxis
].It is used inside the [
GamepadSettings
] to define the sensitivity range and threshold for an axis. Values that are higher thanlivezone_upperbound
will be rounded up to 1.0. Values that are lower thanlivezone_lowerbound
will be rounded down to -1.0. Values that are in-betweendeadzone_lowerbound
anddeadzone_upperbound
will be rounded to 0.0. Otherwise, values will not be rounded.The valid range is
[-1.0, 1.0]
.