GamePadEvents

class GamePadEvents(val view: View)

Constructors

Link copied to clipboard
constructor(view: View)

Properties

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
val view: View

Functions

Link copied to clipboard
fun button(callback: suspend (playerId: Int, pressed: Boolean, button: GameButton, value: Float) -> Unit)
fun button(playerId: Int, callback: suspend (pressed: Boolean, button: GameButton, value: Float) -> Unit)
Link copied to clipboard
fun connected(callback: suspend (playerId: Int) -> Unit)
Link copied to clipboard
fun disconnected(callback: suspend (playerId: Int) -> Unit)
Link copied to clipboard
fun down(playerId: Int, button: GameButton, callback: suspend () -> Unit)
Link copied to clipboard
fun stick(callback: suspend (playerId: Int, stick: GameStick, x: Double, y: Double) -> Unit)
Link copied to clipboard
fun up(playerId: Int, button: GameButton, callback: suspend () -> Unit)
Link copied to clipboard
fun updatedGamepad(callback: (GamepadInfo) -> Unit)