InputMapping

indigo.shared.events.InputMapping
See theInputMapping companion object
final case class InputMapping[A](oneOf: List[(Combo, A)])

Input mapping instances describe combinations of "live" inputs like key combinations or gamepad buttons, and map them to some user defined value.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def add(combos: (Combo, A)*): InputMapping[A]
def add(combos: List[(Combo, A)]): InputMapping[A]
def find(mouse: Mouse, keyboard: Keyboard, gamepad: Gamepad): Option[A]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product