KeyboardEvent

indigo.shared.events.KeyboardEvent
See theKeyboardEvent companion trait
object KeyboardEvent

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class KeyDown(keyCode: Key) extends KeyboardEvent

A key was pressed down during the last frame

A key was pressed down during the last frame

Value parameters

keyCode

The code and the JavaScript String representation

Attributes

Supertypes
trait InputEvent
trait Serializable
trait Product
trait Equals
trait GlobalEvent
class Object
trait Matchable
class Any
Show all
final case class KeyUp(keyCode: Key) extends KeyboardEvent

A key was released during the last frame

A key was released during the last frame

Value parameters

keyCode

The code and the JavaScript String representation

Attributes

Supertypes
trait InputEvent
trait Serializable
trait Product
trait Equals
trait GlobalEvent
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror