GamepadButton

from panda3d.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

Inheritance diagram of GamepadButton

__init__()
__init__(param0: GamepadButton)
static back() ButtonHandle
static dpad_down() ButtonHandle
static dpad_left() ButtonHandle
static dpad_right() ButtonHandle
static dpad_up() ButtonHandle
static face_1() ButtonHandle
static face_2() ButtonHandle
static face_a() ButtonHandle
static face_b() ButtonHandle
static face_c() ButtonHandle
static face_x() ButtonHandle
static face_y() ButtonHandle
static face_z() ButtonHandle
static guide() ButtonHandle
static hat_down() ButtonHandle
static hat_left() ButtonHandle
static hat_right() ButtonHandle
static hat_up() ButtonHandle
static joystick(button_number: int) ButtonHandle

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

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

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