Represents a controller object, which can refer to anything that can control the console such as a gamepad, wheel, magic wand, NUI skeleton, smartglass device, media remote, etc.
public ref class Controller sealed : IController
Use the Controller class to associate any controller with a user (IController has a User property) or get the Id of the controller (IController has an Id property). Controller[0] may or may not refer to a gamepad.
To find a gamepad, use the Gamepads property in the Gamepad class. Gamepad::Gamepads[0] will always refer to a gamepad.
Note
This class makes cross-OS calls. For more information, see Cross-OS Calls.
Namespace: Windows.Xbox.Input
Metadata: windows.winmd