GamepadState class

Constructors

GamepadState({int leftThumbX = 0, int leftThumbY = 0, int leftTrigger = 0, int rightThumbX = 0, int rightThumbY = 0, int rightTrigger = 0})

Properties

buttons List<GamepadButton>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
leftThumbX int
getter/setter pair
leftThumbY int
getter/setter pair
leftTrigger int
getter/setter pair
rightThumbX int
getter/setter pair
rightThumbY int
getter/setter pair
rightTrigger int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isPressed(GamepadButton button) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
update(Map<String, dynamic> map) → void

Operators

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