GamepadInfo class
Associated data about a gamepad.
Constructors
- GamepadInfo({required SdlGuid guid, required String? name, required String? path, required String? serial, required int? steamHandle, required int? productId, required int? productVersion, required GamepadType realType, required GamepadType type, required int? vendor, required int? firmwareVersion, required int? properties})
-
A const constructor.
const
Properties
- firmwareVersion → int?
-
The version of the gamepad's firmware, if available.
final
- guid → SdlGuid
-
The GUID of the gamepad.
final
- hasDualRumble → bool
-
Whether the gamepad has dual rumble control.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasLedWithBrightness → bool
-
Whether the gamepad has an LED with an adjustable brightness
no setter
- hasLedWithColor → bool
-
Whether the gamepad has an LED with an adjustable color.
no setter
- hasPlayerLed → bool
-
Whether the gamepad has LEDs that correspond to the player index.
no setter
- hasTriggerRumble → bool
-
Whether the gamepad supports rumbling its triggers.
no setter
- name → String?
-
The name of the gamepad, if available.
final
- path → String?
-
The path of the gamepad, if available.
final
- productId → int?
-
The USB product ID of the gamepad, if available.
final
- productVersion → int?
-
The USB product version of the gamepad, if available.
final
- properties → int?
-
The properties of the gamepad, if available.
final
- realType → GamepadType
-
The type of the gamepad, if available. Ignores mapping overrides.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serial → String?
-
The serial identifier of the gamepad, if available.
final
- steamHandle → int?
-
The Steam input handle of the gamepad, if available.
final
- type → GamepadType
-
The type of the gamepad, if available.
final
- vendor → int?
-
The vendor of the gamepad, if available.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited