JoyAxisEvent class

An axis on a joystick was moved.

SDL Docs

Inheritance

Constructors

JoyAxisEvent({required Sdl sdl, required int timestamp, required int joystickId, required int axis, required int value})
Create an event.
const

Properties

axis int
The axis that changed.
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 value of the axis.
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