XINPUT_CAPABILITIES class base struct

Describes the capabilities of a connected controller.

The XInputGetCapabilities function returns XINPUT_CAPABILITIES.

To learn more, see learn.microsoft.com/windows/win32/api/xinput/ns-xinput-xinput_capabilities.

Inheritance
Implemented types
Available extensions

Constructors

XINPUT_CAPABILITIES()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
Flags XINPUT_CAPABILITIES_FLAGS
Features of the controller.
getter/setter pair
Gamepad XINPUT_GAMEPAD
XINPUT_GAMEPAD structure that describes available controller features and control resolutions.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
SubType XINPUT_DEVSUBTYPE
Subtype of the game controller.
getter/setter pair
Type XINPUT_DEVTYPE
getter/setter pair
Vibration XINPUT_VIBRATION
XINPUT_VIBRATION structure that describes available vibration functionality and resolutions.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNative({Allocator allocator = adaptiveCalloc}) Pointer<XINPUT_CAPABILITIES>
Allocates native memory and copies the contents of this struct into it.
toString() String
A string representation of this object.
inherited

Operators

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