Strata - v1.4.10
    Preparing search index...

    Interface InputManagerConfig

    Input manager configuration for deadzone, haptics, and gamepad.

    interface InputManagerConfig {
        deadzone?: number;
        gamepadIndex?: number;
        hapticEnabled?: boolean;
        maxDistance?: number;
    }
    Index

    Properties

    deadzone?: number

    Minimum axis value to register (0-1). Values below this are treated as 0. Default: 0.1.

    gamepadIndex?: number

    Index of the gamepad to use (0-3). Default: 0.

    hapticEnabled?: boolean

    Enable haptic feedback for supported devices. Default: true.

    maxDistance?: number

    Maximum drag distance in pixels. Used for normalizing force calculations. Default: 100.