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

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

Public Member Functions

def __init__ (self, mask)
 
def pressing (self)
 Gets the status of a button. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

def vex.ControllerButton.__init__ (   self,
  mask 
)

Member Function Documentation

◆ pressing()

def vex.ControllerButton.pressing (   self)

Gets the status of a button.

Returns
True if pressed, false otherwise