Interface IHidReport

HID report coming from a Jabra Sdk device.

See https://usb.org for more information on the HID specifications.

interface IHidReport {
    id: DeviceId;
    usage: number;
    usagePage: number;
    value: number | number[];
    isArray(): boolean;
}

Methods

Properties

Methods

  • Indicates if the values of the report come as an array or not.

    Returns boolean

    true if the values are an array, false if just a single value

Properties

The ID of the device which sent the report.

usage: number

The HID usage ID of the report.

usagePage: number

The HID usage page of the report.

value: number | number[]

The value or values of the report.