FFBeast Wheel WebHID API
    Preparing search index...

    Interface WheelEvents

    Event handler signatures for WheelApi events.

    interface WheelEvents {
        deviceConnected: (device: HIDDevice) => void;
        deviceDisconnected: (device: HIDDevice) => void;
        error: (error: Error) => void;
        stateReceived: (state: DeviceState) => void;
    }
    Index

    Properties

    deviceConnected: (device: HIDDevice) => void

    Emitted when a device is successfully connected.

    deviceDisconnected: (device: HIDDevice) => void

    Emitted when the device is disconnected.

    error: (error: Error) => void

    Emitted when an error occurs during background processing (e.g. parsing data).

    Direct API calls (like sendSetting) reject their promise instead.

    stateReceived: (state: DeviceState) => void

    Emitted when new device state is received.