Taos API Reference
    Preparing search index...

    Interface GamepadTriggerOptions

    interface GamepadTriggerOptions {
        deadZone?: number;
        onChange?: (value: number) => void;
    }
    Index

    Properties

    Properties

    deadZone?: number

    Magnitude below this reads as zero. Default 0.06.

    onChange?: (value: number) => void

    Per-poll callback with the trigger's analog value in [0, 1].