InputMapping

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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product