Type Alias Thresholds

Thresholds: {
    leftStickXThreshold: number;
    leftStickYThreshold: number;
    leftTriggerThreshold: number;
    rightStickXThreshold: number;
    rightStickYThreshold: number;
    rightTriggerThreshold: number;
}

Represents the threshold values for the gamepad's analog sticks. These thresholds determine the sensitivity of the right and left sticks along the X and Y axes.

Type declaration

  • leftStickXThreshold: number

    The threshold value for the left stick's X-axis.

  • leftStickYThreshold: number

    The threshold value for the left stick's Y-axis.

  • leftTriggerThreshold: number

    The threshold value for the left trigger.

  • rightStickXThreshold: number

    The threshold value for the right stick's X-axis.

  • rightStickYThreshold: number

    The threshold value for the right stick's Y-axis.

  • rightTriggerThreshold: number

    The threshold value for the right trigger.