ControllerAxisEvent class
A controller axis moved.
- Inheritance
-
- Object
- Event
- JoystickEvent
- GameControllerEvent
- ControllerAxisEvent
Constructors
- ControllerAxisEvent({required Sdl sdl, required int timestamp, required int joystickId, required GameControllerAxis axis, required int value})
-
Create an event.
const
Properties
- axis → GameControllerAxis
-
The axis which moved.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- joystickId → int
-
The id of the joystick that generated this event.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdl → Sdl
-
The SDL bindings to use for this event.
finalinherited
- smallValue → double
-
The value normalised to between -1.0 and 1.0 (0.0 is centre).
final
- timestamp → int
-
The time this event was emitted.
finalinherited
- value → int
-
The new position.
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