Documentation
    Preparing search index...

    Interface MockGamepadButton

    GamepadButton from the NAP.

    interface MockGamepadButton {
        pressed: boolean;
        touched: boolean;
        value: number;
    }
    Index

    Properties

    Properties

    pressed: boolean

    Device-reported pressed state.

    touched: boolean

    Device-reported touch state.

    value: number

    0..1 travel.