HidGameControllerProvider HidGameControllerProvider HidGameControllerProvider HidGameControllerProvider HidGameControllerProvider Class

Definition

Represents the underlying device for a HID (Human Interface Device) game controller.

public : sealed class HidGameControllerProvider : IGameControllerProvider
struct winrt::Windows::Gaming::Input::Custom::HidGameControllerProvider : IGameControllerProvider
public sealed class HidGameControllerProvider : IGameControllerProvider
Public NotInheritable Class HidGameControllerProvider Implements IGameControllerProvider
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

This class provides functions for sending raw HID output reports, as well as reading and writing raw HID feature reports. These reports are in their original format—no parsing is done on them.

This class also exposes the HID page and usage of the TLC (top-level collection), so that you can interface correctly with each supported TLC.

Properties

FirmwareVersionInfo FirmwareVersionInfo FirmwareVersionInfo FirmwareVersionInfo FirmwareVersionInfo

The firmware version of the controller.

HardwareProductId HardwareProductId HardwareProductId HardwareProductId HardwareProductId

The hardware product ID of the controller.

HardwareVendorId HardwareVendorId HardwareVendorId HardwareVendorId HardwareVendorId

The hardware vendor ID of the controller.

HardwareVersionInfo HardwareVersionInfo HardwareVersionInfo HardwareVersionInfo HardwareVersionInfo

Contains information on the hardware version of the controller.

IsConnected IsConnected IsConnected IsConnected IsConnected

Boolean value indicating whether the controller is connected.

UsageId UsageId UsageId UsageId UsageId

The usage ID of the top-level collection.

UsagePage UsagePage UsagePage UsagePage UsagePage

The usage page of the top-level collection.

Methods

GetFeatureReport(Byte, Byte[]) GetFeatureReport(Byte, Byte[]) GetFeatureReport(Byte, Byte[]) GetFeatureReport(Byte, Byte[]) GetFeatureReport(Byte, Byte[])

Gets the specified HID (Human Interface Device) feature report from the controller.

SendFeatureReport(Byte, Byte[]) SendFeatureReport(Byte, Byte[]) SendFeatureReport(Byte, Byte[]) SendFeatureReport(Byte, Byte[]) SendFeatureReport(Byte, Byte[])

Sends the specified HID (Human Interface Device) feature report to the device.

SendOutputReport(Byte, Byte[]) SendOutputReport(Byte, Byte[]) SendOutputReport(Byte, Byte[]) SendOutputReport(Byte, Byte[]) SendOutputReport(Byte, Byte[])

Sends the specified HID (Human Interface Device) output report to the device.

See also

  • T:Windows.Gaming.Input.Custom.IGameControllerProvider