Class HIDInputReportEvent
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalHIDInputReportEvent interface of the WebHID API is passed to HIDDevice.Inputreport event of HIDDevice when an input report is received from any associated HID device.
[Value("HIDInputReportEvent")]
public class HIDInputReportEvent : Event
- Inheritance
-
HIDInputReportEvent
- Inherited Members
Remarks
Constructors
HIDInputReportEvent()
public HIDInputReportEvent()
HIDInputReportEvent(string, HIDInputReportEventInit)
public HIDInputReportEvent(string type, HIDInputReportEventInit eventInitDict)
Parameters
typestringeventInitDictHIDInputReportEventInit
Properties
Data
NOTE
Experimentaldata property of the HIDInputReportEvent interface returns a {{jsxref("DataView")}} containing the data from the input report, excluding the reportId if the HID interface uses report IDs.
[Value("data")]
public DataView Data { get; }
Property Value
Remarks
Device
NOTE
Experimentaldevice property of the HIDInputReportEvent interface returns the HIDDevice instance that represents the HID interface that sent the input report.
[Value("device")]
public HIDDevice Device { get; }
Property Value
Remarks
ReportId
NOTE
ExperimentalreportId property of the HIDInputReportEvent interface returns the one-byte identification prefix for this report, or 0 if the HID interface does not use report IDs.
[Value("reportId")]
public byte ReportId { get; }
Property Value
- byte
A one-byte identification prefix.