VEX IQ Python API
|
Use the axis class to get values from one of the controller's joysticks. More...
Public Member Functions | |
def | __init__ (self, parent, axtype) |
def | value (self) |
Gets the value of the joystick axis on a scale from -127 to 127. More... | |
def | position (self) |
Gets the position of the joystick axis on a scale from -100 to 100. More... | |
Use the axis class to get values from one of the controller's joysticks.
def vex.ControllerAxis.__init__ | ( | self, | |
parent, | |||
axtype | |||
) |
def vex.ControllerAxis.value | ( | self | ) |
Gets the value of the joystick axis on a scale from -127 to 127.
def vex.ControllerAxis.position | ( | self | ) |
Gets the position of the joystick axis on a scale from -100 to 100.