Set Gamepad Button Threshold Icon Set Gamepad Button Threshold

This action can be used to set the "threshold" of the gamepad analogue buttons. You specify the gamepad index to set, and then set a value from 0 to 1 and if the analogue button input amount is lower than the given value, the gamepad button is considered to be at 0. Note that this is a global setting that will affect all analogue buttons connected gamepad. This value will be used in all down, pressed and released checks for the given gamepad, but will be ignored by the action Get Gamepad Trigger.

 

Action Syntax:

Set Gamepad Button Threshold Action

 

Arguments:

ArgumentDescription
GamepadThe gamepad index.
DeadzoneThe threshold value (0 - 1)

 

Example:

Set Gamepad Button Threshold Example
The above action block code sets the button threshold for all gamepad indices to 0.2.