@Deprecated public abstract class JoystickBase extends GenericHID
GenericHID.Hand, GenericHID.HIDType, GenericHID.RumbleType
Constructor and Description |
---|
JoystickBase(int port)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract double |
getThrottle()
Deprecated.
Get the throttle.
|
abstract double |
getTwist()
Deprecated.
Get the twist value.
|
double |
getZ()
Deprecated.
|
abstract double |
getZ(GenericHID.Hand hand)
Deprecated.
Get the z position of the HID.
|
getAxisCount, getAxisType, getButtonCount, getName, getPort, getPOV, getPOV, getPOVCount, getRawAxis, getRawButton, getRawButtonPressed, getRawButtonReleased, getType, getX, getX, getY, getY, setOutput, setOutputs, setRumble
public JoystickBase(int port)
public abstract double getZ(GenericHID.Hand hand)
hand
- which hand, left or rightpublic double getZ()
public abstract double getTwist()
public abstract double getThrottle()