IHidGameControllerInputSink
IHidGameControllerInputSink
IHidGameControllerInputSink
IHidGameControllerInputSink
Interface
Definition
Defines the methods necessary for a custom HID (Human Interface Device) controller interface.
public : interface IHidGameControllerInputSinkpublic interface IHidGameControllerInputSinkPublic Interface IHidGameControllerInputSink// This API is not available in Javascript.
- Inheritance
-
IHidGameControllerInputSinkIHidGameControllerInputSinkIHidGameControllerInputSinkIHidGameControllerInputSink
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Inherited Members
Inherited methods
Remarks
This interface must be implemented by a HID custom controller class to receive input reports from the underlying HID device. No parsing or modifications are done on these reports; they are retrieved in their original format.
Methods
OnInputReportReceived(UInt64, Byte, Byte[]) OnInputReportReceived(UInt64, Byte, Byte[]) OnInputReportReceived(UInt64, Byte, Byte[]) OnInputReportReceived(UInt64, Byte, Byte[])
Event raised when input is received.
public : void OnInputReportReceived(unsigned __int64 timestamp, Byte reportId, Byte[] reportBuffer)public void OnInputReportReceived(UInt64 timestamp, Byte reportId, Byte[] reportBuffer)Public Function OnInputReportReceived(timestamp As UInt64, reportId As Byte, reportBuffer As Byte[]) As void// This API is not available in Javascript.
Parameters
- timestamp
- unsigned __int64 UInt64 UInt64 UInt64
Timestamp of the event.
- reportId
- Byte Byte Byte Byte
The ID of the report.
- reportBuffer
- Byte[] Byte[] Byte[] Byte[]
Buffer containing the received input.