InputEvent
indigo.shared.events.InputEvent
sealed trait InputEvent extends GlobalEvent, Product, Serializable
Tags events for input devices like mice and keyboards. InputEvent
s work in partnership with InputState
. Events represent a one time thing that happened since the last frame, while the state represents the ongoing state of an input.
For example there is a mouse Move event i.e. "The mouse was moved" and there is also the mouse position on the InputState
i.e. "Where is the mouse now?"
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass Any
- Known subtypes
-
trait KeyboardEventclass KeyDownclass KeyUptrait MouseEventclass Clickclass Enterclass Leaveclass MouseDownclass MouseUpclass Moveclass Wheeltrait PointerEventclass PointerCancelclass PointerDownclass PointerEnterclass PointerLeaveclass PointerMoveclass PointerUp
Members list
In this article