XusbGameControllerProvider Class
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.
Represents the physical game controller devices connected to the system using XUSB22.SYS.
public ref class XusbGameControllerProvider sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class XusbGameControllerProvider final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class XusbGameControllerProvider
Public NotInheritable Class XusbGameControllerProvider
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Properties
FirmwareVersionInfo |
The firmware version of the controller. |
HardwareProductId |
The hardware product ID of the controller. |
HardwareVendorId |
The hardware vendor ID of the controller. |
HardwareVersionInfo |
Contains information on the hardware version of the controller. |
IsConnected |
Boolean indicating whether the controller is connected. |
Methods
SetVibration(Double, Double) |
Sets the speed on the controller's vibration motor. |