panda3d.core.GamepadButton

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

Inheritance diagram of GamepadButton

__init__() → None
__init__(param0: GamepadButton) → None
static back() → ButtonHandle
Return type

ButtonHandle

static dpadDown() → ButtonHandle
Return type

ButtonHandle

static dpadLeft() → ButtonHandle
Return type

ButtonHandle

static dpadRight() → ButtonHandle
Return type

ButtonHandle

static dpadUp() → ButtonHandle
Return type

ButtonHandle

static face1() → ButtonHandle
Return type

ButtonHandle

static face2() → ButtonHandle
Return type

ButtonHandle

static faceA() → ButtonHandle
Return type

ButtonHandle

static faceB() → ButtonHandle
Return type

ButtonHandle

static faceC() → ButtonHandle
Return type

ButtonHandle

static faceX() → ButtonHandle
Return type

ButtonHandle

static faceY() → ButtonHandle
Return type

ButtonHandle

static faceZ() → ButtonHandle
Return type

ButtonHandle

static guide() → ButtonHandle
Return type

ButtonHandle

static hatDown() → ButtonHandle
Return type

ButtonHandle

static hatLeft() → ButtonHandle
Return type

ButtonHandle

static hatRight() → ButtonHandle
Return type

ButtonHandle

static hatUp() → ButtonHandle
Return type

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.

Return type

ButtonHandle

static lgrip() → ButtonHandle
Return type

ButtonHandle

static lshoulder() → ButtonHandle
Return type

ButtonHandle

static lstick() → ButtonHandle
Return type

ButtonHandle

static ltrigger() → ButtonHandle
Return type

ButtonHandle

static next() → ButtonHandle
Return type

ButtonHandle

static previous() → ButtonHandle
Return type

ButtonHandle

static rgrip() → ButtonHandle
Return type

ButtonHandle

static rshoulder() → ButtonHandle
Return type

ButtonHandle

static rstick() → ButtonHandle
Return type

ButtonHandle

static rtrigger() → ButtonHandle
Return type

ButtonHandle

static start() → ButtonHandle
Return type

ButtonHandle

static trigger() → ButtonHandle

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

Return type

ButtonHandle