-
Notifications
You must be signed in to change notification settings - Fork 2
Input Preprocessing (Input Processors)
Input Processors are functions that take the value of the binding's input (or the output of the previous Input Processor) and with some parameters, output a modified value which is then used by the game.
Tip
For instance: You might want to combat stick drift by applying a AxisDeadzone processor to your Joystick or you may want to adjust the sensitivity of an axis using a Scale processor.
The UI of this mod allows you to add or remove processors using the "Processors" button.
-
See https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/manual/Processors.html#axis-deadzone
-
https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/manual/Processors.html#stick-deadzone
-
See https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/manual/Processors.html#clamp
-
See https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/manual/Processors.html#invert
-
See https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/manual/Processors.html#invert-vector-2
-
See https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/manual/Processors.html#normalize
-
See https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/manual/Processors.html#scale
-
See https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/manual/Processors.html#scale-vector-2
-
Custom processor
Based on https://www.arduino.cc/reference/en/language/functions/math/map/Re-maps the input from one range to another.
in_min: The lower end of the input range.
in_max: The upper end of the input range.
out_min: The lower end of the output range.
out_max: The upper end of the output range.