JoyHatEvent class
A hat on a joystick has moved.
- Inheritance
-
- Object
- Event
- JoystickEvent
- JoyHatEvent
Constructors
- JoyHatEvent({required Sdl sdl, required int timestamp, required int joystickId, required int hat, required JoyHatValue value})
-
Create an event.
const
- JoyHatEvent.fromSdlEvent(Sdl sdl, SDL_JoyHatEvent e)
- Create an instance from an event.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hat → int
-
The hat that has changed.
final
- 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
- timestamp → int
-
The time this event was emitted.
finalinherited
- value → JoyHatValue
-
The value of the hat.
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