/*! * Ecctrl * https://github.com/pmndrs/ecctrl * * SPDX-FileCopyrightText: 2023-2026 Erdong Chen * SPDX-License-Identifier: MIT */ export type VehicleInput = { forward?: boolean; backward?: boolean; steerLeft?: boolean; steerRight?: boolean; brake?: boolean; throttleUp?: boolean; throttleDown?: boolean; yawLeft?: boolean; yawRight?: boolean; pitchForward?: boolean; pitchBackward?: boolean; rollLeft?: boolean; rollRight?: boolean; joystickL?: { x: number; y: number; }; joystickR?: { x: number; y: number; }; }; type ReadonlyJoystickInput = Readonly<{ x: number; y: number; }>; export type ReadonlyVehicleInput = Readonly> & { readonly joystickL?: ReadonlyJoystickInput; readonly joystickR?: ReadonlyJoystickInput; }; export {};