ConfigurableInputCommandSensitivity Property |
Namespace: DigitalRune.Game.Input
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Sensitivity is negative or equal to 0. |
A Sensitivity of 1 creates a linear response curve (default). A value of 1/2 creates a quadratic response curve. A value of 1/3 creates a cubic response curve. Etc.
The Sensitivity does not change the minimal and maximal values of the Value. But they change how the Value changes in response to analog input. If a thumb stick is pressed half way and the Sensitivity is 1, the output Value is 0.5. If the Sensitivity is less than 1, then the Value would be less than 0.5f. If the Sensitivity is greater than 1, then the Value would be greater than 0.5f. In other words: If the Sensitivity is high, then a small thumb stick movement has a larger reaction.