XusbGameControllerProvider XusbGameControllerProvider XusbGameControllerProvider XusbGameControllerProvider Class

Definition

Represents the physical game controller devices connected to the system using XUSB22.SYS (for Xbox 360 accessories).

public : sealed class XusbGameControllerProvider : IGameControllerProvider, IXusbGameControllerProviderpublic sealed class XusbGameControllerProvider : IGameControllerProvider, IXusbGameControllerProviderPublic NotInheritable Class XusbGameControllerProvider Implements IGameControllerProvider, IXusbGameControllerProvider// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Properties

FirmwareVersionInfo FirmwareVersionInfo FirmwareVersionInfo FirmwareVersionInfo

The firmware version of the controller.

public : GameControllerVersionInfo FirmwareVersionInfo { get; }public GameControllerVersionInfo FirmwareVersionInfo { get; }Public ReadOnly Property FirmwareVersionInfo As GameControllerVersionInfo// You can use this property in JavaScript.

HardwareProductId HardwareProductId HardwareProductId HardwareProductId

The hardware product ID of the controller.

public : ushort HardwareProductId { get; }public ushort HardwareProductId { get; }Public ReadOnly Property HardwareProductId As ushort// You can use this property in JavaScript.
Value
ushort ushort ushort ushort

The hardware product ID of the controller.

HardwareVendorId HardwareVendorId HardwareVendorId HardwareVendorId

The hardware vendor ID of the controller.

public : ushort HardwareVendorId { get; }public ushort HardwareVendorId { get; }Public ReadOnly Property HardwareVendorId As ushort// You can use this property in JavaScript.
Value
ushort ushort ushort ushort

The hardware vendor ID of the controller.

HardwareVersionInfo HardwareVersionInfo HardwareVersionInfo HardwareVersionInfo

Contains information on the hardware version of the controller.

public : GameControllerVersionInfo HardwareVersionInfo { get; }public GameControllerVersionInfo HardwareVersionInfo { get; }Public ReadOnly Property HardwareVersionInfo As GameControllerVersionInfo// You can use this property in JavaScript.

IsConnected IsConnected IsConnected IsConnected

Boolean indicating whether the controller is connected.

public : PlatForm::Boolean IsConnected { get; }public bool IsConnected { get; }Public ReadOnly Property IsConnected As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

Boolean indicating whether the controller is connected.

Methods

SetVibration(Double, Double) SetVibration(Double, Double) SetVibration(Double, Double) SetVibration(Double, Double)

Sets the speed on the controller's vibration motor.

public : void SetVibration(double lowFrequencyMotorSpeed, double highFrequencyMotorSpeed)public void SetVibration(Double lowFrequencyMotorSpeed, Double highFrequencyMotorSpeed)Public Function SetVibration(lowFrequencyMotorSpeed As Double, highFrequencyMotorSpeed As Double) As void// You can use this method in JavaScript.
Parameters
lowFrequencyMotorSpeed
double Double Double Double

The low frequency motor speed.

highFrequencyMotorSpeed
double Double Double Double

The high frequency motor speed.