Atlas Engine
API Referenceatlas

ControllerID

Device descriptor returned by Window.getControllers; isJoystick distinguishes joystick devices.

Module: atlas

Device descriptor returned by Window.getControllers; isJoystick distinguishes joystick devices.

Declaration

export type ControllerID = {
        id: number;
        name: string;
        isJoystick: boolean;
    };

Properties

id

id: number;

name

name: string;

isJoystick

isJoystick: boolean;

On this page