IHidGameControllerInputSink Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the methods necessary for a custom HID (Human Interface Device) controller interface.
public interface class IHidGameControllerInputSink : IGameControllerInputSink
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.Guid(4149527330, 6189, 16612, 161, 38, 252, 238, 79, 250, 30, 49)]
struct IHidGameControllerInputSink : IGameControllerInputSink
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.Guid(4149527330, 6189, 16612, 161, 38, 252, 238, 79, 250, 30, 49)]
public interface IHidGameControllerInputSink : IGameControllerInputSink
Public Interface IHidGameControllerInputSink
Implements IGameControllerInputSink
- Attributes
- Implements
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
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[]) |
Event raised when input is received. |
OnInputResumed(UInt64) |
Event raised when input for the controller is resumed. (Inherited from IGameControllerInputSink) |
OnInputSuspended(UInt64) |
Event raised when input for the controller is suspended. (Inherited from IGameControllerInputSink) |