GamepadButton¶
from acron.core import GamepadButton
- class GamepadButton¶
Bases:
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=""]; }- __init__()¶
- static back()¶
- static dpad_down()¶
- static dpad_left()¶
- static dpad_right()¶
- static dpad_up()¶
- static face_1()¶
- static face_2()¶
- static face_a()¶
- static face_b()¶
- static face_c()¶
- static face_x()¶
- static face_y()¶
- static face_z()¶
- static guide()¶
- static hat_down()¶
- static hat_left()¶
- static hat_right()¶
- static hat_up()¶
- static joystick()¶
Returns the
ButtonHandleassociated with the particular numbered joystick button (zero-based), if there is one, orButtonHandle.none()if there is not.
- static lgrip()¶
- static lshoulder()¶
- static lstick()¶
- static ltrigger()¶
- static next()¶
- static previous()¶
- static rgrip()¶
- static rshoulder()¶
- static rstick()¶
- static rtrigger()¶
- static start()¶
- static trigger()¶
Flight stick buttons, takes zero-based index. First is always trigger.