Input

class Input : Extra

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

All the touches that are active (recently created or updated)

Link copied to clipboard

Configures the distance from down to up to consider a finger up event a tap

Link copied to clipboard
Link copied to clipboard

Configures the delay time to consider a mouse up event a click

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var extra: ExtraType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

BitField with pressed mouse buttons

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Last TouchEvent emitted

Link copied to clipboard

All the available touches including the ones that just ended

Functions

Link copied to clipboard
fun endFrame(delta: TimeSpan)
Link copied to clipboard
operator fun get(button: MouseButton): Boolean
Link copied to clipboard
fun getTouch(id: Int): Touch
Link copied to clipboard

Determine if a mouse button is pressed

Link copied to clipboard
fun setKey(keyCode: Int, b: Boolean)
Link copied to clipboard
fun setMouseGlobalPos(p: Point, down: Boolean = false)
Link copied to clipboard
fun startFrame(delta: TimeSpan)
Link copied to clipboard
fun toggleButton(button: MouseButton, down: Boolean)
Link copied to clipboard