VEX V5 Python API
Public Member Functions | List of all members
vex.ControllerButton Class Reference

Public Member Functions

def __init__ (self, parent, id)
 Use the button class to get values from the controller's buttons. More...
 
def pressing (self)
 Gets the staus of a button. More...
 

Constructor & Destructor Documentation

◆ __init__()

def vex.ControllerButton.__init__ (   self,
  parent,
  id 
)

Use the button class to get values from the controller's buttons.

Member Function Documentation

◆ pressing()

def vex.ControllerButton.pressing (   self)

Gets the staus of a button.

Returns
Returns a Boolean value based on the pressed states of the button. If the button is pressed it will return True.