pronotron-tech-art-suite
    Preparing search index...

    Type Alias BaseSettings

    Configuration options for pointer interaction behavior.

    type BaseSettings = {
        idleThreshold: number;
        movingDeltaLimit: number;
        startPosition?: { x: number; y: number };
        tapThreshold: number;
    }
    Index

    Properties

    idleThreshold: number

    Seconds of inactivity before auto-transition to IDLE.

    0.5 sec.
    
    movingDeltaLimit: number

    Minimum squared-pixel distance required to treat movement as a true drag rather than micro-jitter.

    10 px
    
    startPosition?: { x: number; y: number }

    Optional initial position of the pointer, specified as { x, y }. If omitted, defaults to the top-left corner.

    tapThreshold: number

    Maximum duration (in seconds) for a tap event.

    0.25 sec.