GamepadEx

class GamepadEx(gamepad: Gamepad, triggerThreshold: Float = 0.0f, horizontalJoystickThreshold: Float = 0.0f, verticalJoystickThreshold: Float = 0.0f, reverseVertical: Boolean = true)

This class offers a complete wrapper of the Qualcomm gamepad class. The only time users should need to interact with the Qualcomm gamepad class is when instantiating this class.

Parameters

gamepad

the Qualcomm gamepad to wrap

Constructors

Link copied to clipboard
constructor(gamepad: Gamepad, triggerThreshold: Float = 0.0f, horizontalJoystickThreshold: Float = 0.0f, verticalJoystickThreshold: Float = 0.0f, reverseVertical: Boolean = true)

Properties

Link copied to clipboard
val a: Button
Link copied to clipboard
val b: Button
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A list of all of the controls this gamepad has.

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
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 x: Button
Link copied to clipboard
val y: Button

Functions

Link copied to clipboard
fun update()