Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 997 Bytes

File metadata and controls

22 lines (15 loc) · 997 Bytes

HIDInputReportEvent

Namespace: SpawnDev.SpawnJS.JSObjects
Inherits: Event
Source: JSObjects/HIDInputReportEvent.cs

Represents a HIDInputReportEvent fired by a HID device. This event contains the report data received from a HID device. Corresponds to the WebHID 'HIDInputReportEvent' interface. https://wicg.github.io/webhid/#hidinputreportevent-interface

Constructors

Signature Description
HIDInputReportEvent(SpawnJSObjectReference _ref) Creates a new instance of HIDInputReportEvent.

Properties

Property Type Access Description
Device HIDDevice get The HIDDevice object associated with this event, representing the device that sent the input report.
ReportId byte get An 8-bit value indicating the report ID of the input report. A value of 0 means the device does not use report IDs.
Data DataView get A DataView object containing the raw input report data.