InputEvent

indigo.shared.events.InputEvent
sealed trait InputEvent extends GlobalEvent, Product, Serializable

Tags events for input devices like mice and keyboards. InputEvents 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 Serializable
trait Product
trait Equals
trait GlobalEvent
class Object
trait Matchable
class Any
Show all
Known subtypes
class KeyDown
class KeyUp
trait MouseEvent
class Click
class Enter
class Leave
class MouseDown
class MouseUp
class Move
class Wheel
trait PointerEvent
class PointerDown
class PointerEnter
class PointerLeave
class PointerMove
class PointerUp
Show all

Members list

Value members

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product