GamepadButton

class GamepadButton

This class is just used as a convenient namespace for grouping all of these handy functions that return buttons which map to gamepad buttons.

Inheritance diagram

digraph inheritance8216a2f7a2 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "GamepadButton" [URL="acron.core.GamepadButton.html#acron.core.GamepadButton",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "GamepadButton" [arrowsize=0.75,style=""]; }
GamepadButton.__init__()
static GamepadButton.back()
static GamepadButton.dpad_down()
static GamepadButton.dpad_left()
static GamepadButton.dpad_right()
static GamepadButton.dpad_up()
static GamepadButton.face_1()
static GamepadButton.face_2()
static GamepadButton.face_a()
static GamepadButton.face_b()
static GamepadButton.face_c()
static GamepadButton.face_x()
static GamepadButton.face_y()
static GamepadButton.face_z()
static GamepadButton.guide()
static GamepadButton.hat_down()
static GamepadButton.hat_left()
static GamepadButton.hat_right()
static GamepadButton.hat_up()
static GamepadButton.joystick()

Returns the ButtonHandle associated with the particular numbered joystick button (zero-based), if there is one, or ButtonHandle::none() if there is not.

static GamepadButton.lgrip()
static GamepadButton.lshoulder()
static GamepadButton.lstick()
static GamepadButton.ltrigger()
static GamepadButton.next()
static GamepadButton.previous()
static GamepadButton.rgrip()
static GamepadButton.rshoulder()
static GamepadButton.rstick()
static GamepadButton.rtrigger()
static GamepadButton.start()
static GamepadButton.trigger()

Flight stick buttons, takes zero-based index. First is always trigger.