设置游戏手柄轴的死区(Deadzone)


描述

This action can be used to set the "dead zone" of the gamepad stick axis. You specify the gamepad index to set, and then set a value from 0 to 1 and if the input amount is lower than the given value, the gamepad stick axis is considered to be at 0. Note that this is a global setting that will affect all axis of the stick connected.


动作语法:

Set Gamepad Axis Deadzone Syntax


参数:

参数 描述
游戏手柄 The gamepad index.
死区 The deadzone value (0 - 1)


例如:

Set Gamepad Axis Deadzone Example
The above action block code sets the deadzone for four gamepad indices to 0.2.