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

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

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

def vex.BrainButton.__init__ (   self,
  id 
)

Member Function Documentation

◆ pressing()

def vex.BrainButton.pressing (   self)

Gets the pressed status of a button.

Returns
True if pressed, False othewise.