Config Joystick controller.
More...
Config Joystick controller.
◆ __init__()
def vexiq.Joystick.__init__ |
( |
|
self | ) |
|
◆ set_deadband()
def vexiq.Joystick.set_deadband |
( |
|
self, |
|
|
|
value |
|
) |
| |
Set the deadband value for all axes (threshold below which axes would read out zero)
- Parameters
-
◆ axisA()
def vexiq.Joystick.axisA |
( |
|
self | ) |
|
Axis A position -100 to 100.
- Returns
- number [-100...100]
◆ axisB()
def vexiq.Joystick.axisB |
( |
|
self | ) |
|
Axis B position -100 to 100.
- Returns
- number [-100...100]
◆ axisC()
def vexiq.Joystick.axisC |
( |
|
self | ) |
|
Axis C position -100 to 100.
- Returns
- number [-100...100]
◆ axisD()
def vexiq.Joystick.axisD |
( |
|
self | ) |
|
Axis D position -100 to 100.
- Returns
- number [-100...100]
◆ bEup()
def vexiq.Joystick.bEup |
( |
|
self | ) |
|
Button E-up pressed (True/False).
- Returns
- bool
◆ bEdown()
def vexiq.Joystick.bEdown |
( |
|
self | ) |
|
Button E-down pressed (True/False).
- Returns
- bool
◆ bFup()
def vexiq.Joystick.bFup |
( |
|
self | ) |
|
Button F-up pressed (True/False).
- Returns
- bool
◆ bFdown()
def vexiq.Joystick.bFdown |
( |
|
self | ) |
|
Button F-down pressed (True/False).
- Returns
- bool
◆ bLup()
def vexiq.Joystick.bLup |
( |
|
self | ) |
|
Button L-up pressed (True/False).
- Returns
- bool
◆ bLdown()
def vexiq.Joystick.bLdown |
( |
|
self | ) |
|
Button L-down pressed (True/False).
- Returns
- bool
◆ bRup()
def vexiq.Joystick.bRup |
( |
|
self | ) |
|
Button R-up pressed (True/False).
- Returns
- bool
◆ bRdown()
def vexiq.Joystick.bRdown |
( |
|
self | ) |
|
Button R-down pressed (True/False).
- Returns
- bool