MAIDR JavaScript API
    Preparing search index...

    Interface HidReportItem

    One main item of a report: a run of reportCount fields of reportSize bits each.

    interface HidReportItem {
        isArray?: boolean;
        isConstant?: boolean;
        isRange?: boolean;
        usages?: readonly number[];
        usageMinimum?: number;
        usageMaximum?: number;
        reportSize?: number;
        reportCount?: number;
        logicalMinimum?: number;
        logicalMaximum?: number;
    }
    Index

    Properties

    isArray?: boolean

    True when each field holds the index of a usage that is active, rather than one field per usage.

    isConstant?: boolean

    True for padding: the bits are there, and carry nothing.

    isRange?: boolean

    True when the usages are the range usageMinimum..usageMaximum rather than the list in usages.

    usages?: readonly number[]

    Extended usages, the usage page in the high sixteen bits.

    usageMinimum?: number
    usageMaximum?: number
    reportSize?: number

    Bits in each field.

    reportCount?: number

    Fields in the item.

    logicalMinimum?: number
    logicalMaximum?: number