Panda3D
Public Member Functions | Static Public Member Functions | List of all members
GamepadButton Class Reference

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

Public Member Functions

 __init__ ()
 
 __init__ (const GamepadButton)
 

Static Public Member Functions

static ButtonHandle back ()
 
static ButtonHandle dpadDown ()
 
static ButtonHandle dpadLeft ()
 
static ButtonHandle dpadRight ()
 
static ButtonHandle dpadUp ()
 
static ButtonHandle face1 ()
 
static ButtonHandle face2 ()
 
static ButtonHandle faceA ()
 
static ButtonHandle faceB ()
 
static ButtonHandle faceC ()
 
static ButtonHandle faceX ()
 
static ButtonHandle faceY ()
 
static ButtonHandle faceZ ()
 
static ButtonHandle guide ()
 
static ButtonHandle hatDown ()
 
static ButtonHandle hatLeft ()
 
static ButtonHandle hatRight ()
 
static ButtonHandle hatUp ()
 
static ButtonHandle 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. More...
 
static ButtonHandle lgrip ()
 
static ButtonHandle lshoulder ()
 
static ButtonHandle lstick ()
 
static ButtonHandle ltrigger ()
 
static ButtonHandle next ()
 
static ButtonHandle previous ()
 
static ButtonHandle rgrip ()
 
static ButtonHandle rshoulder ()
 
static ButtonHandle rstick ()
 
static ButtonHandle rtrigger ()
 
static ButtonHandle start ()
 
static ButtonHandle trigger ()
 

Detailed Description

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

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

◆ __init__() [2/2]

__init__ ( const  GamepadButton)

◆ back()

static ButtonHandle back ( )
static

◆ dpadDown()

static ButtonHandle dpadDown ( )
static

◆ dpadLeft()

static ButtonHandle dpadLeft ( )
static

◆ dpadRight()

static ButtonHandle dpadRight ( )
static

◆ dpadUp()

static ButtonHandle dpadUp ( )
static

◆ face1()

static ButtonHandle face1 ( )
static

◆ face2()

static ButtonHandle face2 ( )
static

◆ faceA()

static ButtonHandle faceA ( )
static

◆ faceB()

static ButtonHandle faceB ( )
static

◆ faceC()

static ButtonHandle faceC ( )
static

◆ faceX()

static ButtonHandle faceX ( )
static

◆ faceY()

static ButtonHandle faceY ( )
static

◆ faceZ()

static ButtonHandle faceZ ( )
static

◆ guide()

static ButtonHandle guide ( )
static

◆ hatDown()

static ButtonHandle hatDown ( )
static

◆ hatLeft()

static ButtonHandle hatLeft ( )
static

◆ hatRight()

static ButtonHandle hatRight ( )
static

◆ hatUp()

static ButtonHandle hatUp ( )
static

◆ joystick()

static ButtonHandle joystick ( int  button_number)
static

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

◆ lgrip()

static ButtonHandle lgrip ( )
static

◆ lshoulder()

static ButtonHandle lshoulder ( )
static

◆ lstick()

static ButtonHandle lstick ( )
static

◆ ltrigger()

static ButtonHandle ltrigger ( )
static

◆ next()

static ButtonHandle next ( )
static

◆ previous()

static ButtonHandle previous ( )
static

◆ rgrip()

static ButtonHandle rgrip ( )
static

◆ rshoulder()

static ButtonHandle rshoulder ( )
static

◆ rstick()

static ButtonHandle rstick ( )
static

◆ rtrigger()

static ButtonHandle rtrigger ( )
static

◆ start()

static ButtonHandle start ( )
static

◆ trigger()

static ButtonHandle trigger ( )
static