play-u1 API
    Preparing search index...

    Type Alias ButtonSnap

    Plain snapshots of connected gamepads from the browser Gamepad API.

    type ButtonSnap = {
        pressed: boolean;
        touched?: boolean;
        value: number;
    }
    Index

    Properties

    pressed: boolean
    touched?: boolean
    value: number