For gamepad’s thumbstick axis:
This accounts for the axis scale - values lower than 1 are allowed. Other than that, you’d need to include more details regarding the desired behaviour.