Gamepad class winrt Class

Represents a gamepad.

Inheritance
Implemented types
Available extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
headset Headset
no setteroverride
iids List<String>

Available on IInspectable, provided by the IInspectableExtension extension

Returns the interface IIDs that are implemented by the current Windows Runtime class.
no setter
isWireless bool
no setteroverride
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeClassName String

Available on IInspectable, provided by the IInspectableExtension extension

Gets the fully qualified name of the current Windows Runtime object.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trustLevel TrustLevel

Available on IInspectable, provided by the IInspectableExtension extension

Gets the trust level of the current Windows Runtime object.
no setter
user → User
no setteroverride
vibration GamepadVibration
getter/setter pairoverride

Methods

add_HeadsetConnected(Pointer<NativeFunction<TypedEventHandler>> value) int
override
add_HeadsetDisconnected(Pointer<NativeFunction<TypedEventHandler>> value) int
override
add_UserChanged(Pointer<NativeFunction<TypedEventHandler>> value) int
override
addRef() int
inherited
getButtonLabel(GamepadButtons button) GameControllerButtonLabel
getCurrentReading() GamepadReading
override
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
inherited
release() int
inherited
remove_HeadsetConnected(int token) → void
override
remove_HeadsetDisconnected(int token) → void
override
remove_UserChanged(int token) → void
override
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited
tryGetBatteryReport() BatteryReport
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

gamepads List<Gamepad>
no setter