Gamepad.Gamepad constructor
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Creates an instance of the Gamepad class.
Syntax
var gamepad = new Windows.Gaming.Input.Gamepad();
public Gamepad()
Public Sub New ()
public:
Gamepad()
Parameters
This constructor has no parameters.
Requirements (device family)
Device family |
Universal |
API contract |
Windows.Foundation.UniversalApiContract, introduced version 1.0 |
Namespace |
Windows.Gaming.Input Windows::Gaming::Input [C++] |
Metadata |
Windows.Foundation.UniversalApiContract.winmd |