indigo.shared.input

Type members

Classlikes

final case class AnalogAxis(x: Double, y: Double, pressed: Boolean)
Companion
object
object AnalogAxis
Companion
class
final case class Gamepad(connected: Boolean, analog: GamepadAnalogControls, dpad: GamepadDPad, buttons: GamepadButtons)
Companion
object
object Gamepad
Companion
class
final case class GamepadAnalogControls(left: AnalogAxis, right: AnalogAxis)
Companion
object
final class GamepadButtons(val Cross: Boolean, val Circle: Boolean, val Square: Boolean, val Triangle: Boolean, val L1: Boolean, val L2: Boolean, val R1: Boolean, val R2: Boolean, val Options: Boolean, val Share: Boolean, val PS: Boolean, val TouchPad: Boolean)
Companion
object
Companion
class
final case class GamepadDPad(up: Boolean, down: Boolean, left: Boolean, right: Boolean)
Companion
object
object GamepadDPad
Companion
class
final class Keyboard(keyboardEvents: List[KeyboardEvent], val keysDown: List[Key], val lastKeyHeldDown: Option[Key])
Companion
object
object Keyboard
Companion
class
final class Mouse(mouseEvents: List[MouseEvent], val position: Point, val leftMouseIsDown: Boolean)
Companion
object
object Mouse
Companion
class