ControllerTouchpadEvent class
A controller touch device event.
- Inheritance
-
- Object
- Event
- JoystickEvent
- GameControllerEvent
- ControllerTouchpadEvent
- Mixed in types
Constructors
- ControllerTouchpadEvent({required Sdl sdl, required int timestamp, required int controllerId, required ControllerTouchpadEventType type, required int touchpad, required int finger, required double x, required double y, required double pressure})
- Create an event.
- ControllerTouchpadEvent.fromSdlEvent(Sdl sdl, SDL_ControllerTouchpadEvent event)
- Create an instance from an SDL event.
Properties
-
coordinates
→ Point<
double> -
Complete coordinates.
no setterinherited
- finger → int
-
The index of the finger on the touchpad.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- joystickId → int
-
The id of the joystick that generated this event.
finalinherited
- pressure → double
-
Finger pressure.
final
- 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
- touchpad → int
-
The index of the touchpad.
final
- type → ControllerTouchpadEventType
-
The type of this event.
final
- x ↔ double
-
X coordinate.
latefinalinherited
- y ↔ double
-
Y coordinate.
latefinalinherited
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