Gamepad class winrt Class
Represents a gamepad.
- Inheritance
-
- Object
- IUnknown
- IInspectable
- Gamepad
- Implemented types
- Available extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- headset → Headset?
-
no setteroverride
- isWireless → bool
-
no setteroverride
-
ptr
↔ Pointer<
COMObject> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user → User?
-
no setteroverride
- vibration ↔ GamepadVibration
-
getter/setter pairoverride
Methods
-
add_HeadsetConnected(
Pointer< NativeFunction< value) → intTypedEventHandler> > -
override
-
add_HeadsetDisconnected(
Pointer< NativeFunction< value) → intTypedEventHandler> > -
override
-
add_UserChanged(
Pointer< NativeFunction< value) → intTypedEventHandler> > -
override
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
getButtonLabel(
GamepadButtons button) → GameControllerButtonLabel -
getCurrentReading(
) → GamepadReading -
override
-
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
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< ppvObject) → intNativeType> > -
Queries a COM object for a pointer to one of its interface; identifying
the interface by a reference to its interface identifier (IID).
inherited
-
release(
) → int -
Decrements the reference count for an interface on a COM object.
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 Methods
-
add_GamepadAdded(
Pointer< NativeFunction< value) → intEventHandler> > -
add_GamepadRemoved(
Pointer< NativeFunction< value) → intEventHandler> > -
fromGameController(
IGameController? gameController) → Gamepad? -
remove_GamepadAdded(
int token) → void -
remove_GamepadRemoved(
int token) → void