Documentation
    Preparing search index...

    Interface MockGamepadPad

    Gamepad from the NAP (one connected slot).

    interface MockGamepadPad {
        axes: number[];
        buttons: MockGamepadButton[];
        connected: true;
        id: string;
        index: number;
        mapping: string;
        timestamp: number;
    }
    Index

    Properties

    axes: number[]

    Axes, each -1..1.

    Buttons in mapping order.

    connected: true

    Always true inside a snapshot.

    id: string

    Controller description (not an identity).

    index: number

    Slot position.

    mapping: string

    standard or "".

    timestamp: number

    Runtime time of last change (ms); 0 in neutral slots.