GamepadButton

from panda3d.core import GamepadButton
class GamepadButton

Bases: DTOOL_SUPER_BASE

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__(*args, **kwargs)
back()

C++ Interface: back()

dpadDown()

C++ Interface: dpad_down()

dpadLeft()

C++ Interface: dpad_left()

dpadRight()

C++ Interface: dpad_right()

dpadUp()

C++ Interface: dpad_up()

dpad_down()

C++ Interface: dpad_down()

dpad_left()

C++ Interface: dpad_left()

dpad_right()

C++ Interface: dpad_right()

dpad_up()

C++ Interface: dpad_up()

face1()

C++ Interface: face_1()

face2()

C++ Interface: face_2()

faceA()

C++ Interface: face_a()

faceB()

C++ Interface: face_b()

faceC()

C++ Interface: face_c()

faceX()

C++ Interface: face_x()

faceY()

C++ Interface: face_y()

faceZ()

C++ Interface: face_z()

face_1()

C++ Interface: face_1()

face_2()

C++ Interface: face_2()

face_a()

C++ Interface: face_a()

face_b()

C++ Interface: face_b()

face_c()

C++ Interface: face_c()

face_x()

C++ Interface: face_x()

face_y()

C++ Interface: face_y()

face_z()

C++ Interface: face_z()

guide()

C++ Interface: guide()

hatDown()

C++ Interface: hat_down()

hatLeft()

C++ Interface: hat_left()

hatRight()

C++ Interface: hat_right()

hatUp()

C++ Interface: hat_up()

hat_down()

C++ Interface: hat_down()

hat_left()

C++ Interface: hat_left()

hat_right()

C++ Interface: hat_right()

hat_up()

C++ Interface: hat_up()

joystick()

C++ Interface: joystick(int button_number)

/**
  • Returns the ButtonHandle associated with the particular numbered joystick

  • button (zero-based), if there is one, or ButtonHandle::none() if there is

  • not.

*/

lgrip()

C++ Interface: lgrip()

lshoulder()

C++ Interface: lshoulder()

lstick()

C++ Interface: lstick()

ltrigger()

C++ Interface: ltrigger()

next()

C++ Interface: next()

previous()

C++ Interface: previous()

rgrip()

C++ Interface: rgrip()

rshoulder()

C++ Interface: rshoulder()

rstick()

C++ Interface: rstick()

rtrigger()

C++ Interface: rtrigger()

start()

C++ Interface: start()

trigger()

C++ Interface: trigger()

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