InputEvent

sealed trait InputEvent extends GlobalEvent with Product with 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?"

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
class KeyDown
class KeyUp
class Click
class MouseDown
class MouseUp
class Move

Value members

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product