ecspresso
    Preparing search index...

    Interface GamepadAxisRef

    interface GamepadAxisRef {
        axis: number;
        direction: -1 | 1;
        pad: number;
        threshold?: number;
    }
    Index

    Properties

    axis: number
    direction: -1 | 1

    Which half of the axis counts as "active".

    pad: number
    threshold?: number

    Magnitude at which the axis triggers the action. Applied to the deadzone-adjusted axis value. Default: 0.5.