play-u1 API
    Preparing search index...

    Interface GamepadSnapshot

    interface GamepadSnapshot {
        axes: Record<string, AxisState>;
        buttons: Record<string, { pressed: boolean; value: number }>;
        hasVibration: boolean;
        id: string;
        index: number;
        timestamp: number;
        triggers: { LT: number; RT: number };
    }
    Index

    Properties

    axes: Record<string, AxisState>
    buttons: Record<string, { pressed: boolean; value: number }>

    Named buttons from the active layout

    hasVibration: boolean
    id: string
    index: number
    timestamp: number
    triggers: { LT: number; RT: number }