Gamepad class

Constructors

Gamepad()

Properties

deviceIndex int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isConnected bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state GamepadState
getter/setter pair

Methods

getAvaibleDevices() Future<List<int>>
initialize({dynamic onCallback(GamepadState state)?}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selectGamepad(int id) Future<bool>
setAutoVibration(bool value) Future<bool>
setVibration(double leftMotorSpeed, double rightMotorSpeed) Future<bool>
toString() String
A string representation of this object.
override
update(Map<String, dynamic> map) → void

Operators

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