Companion

object Companion

Functions

Link copied to clipboard
fun get(gamepad: Gamepad, analog: Controls.Analog): Float

Get the value of an analog input on a gamepad.

Link copied to clipboard
fun getCartesian(gamepad: Gamepad, analog: Controls.Analog): Float

Get the value of an analog input on a gamepad, with the Y axis inverted for the left and right sticks.