Package xbot.common.controls.sensors
Interface IGamepad
- All Known Implementing Classes:
FTCGamepadWpiAdapter
,MockFTCGamepad
,MockXboxControllerAdapter
,XboxControllerWpiAdapter
,XFTCGamepad
,XXboxController
public interface IGamepad
-
Method Summary
Modifier and TypeMethodDescriptiondouble
double
void
setLeftInversion
(boolean xInverted, boolean yInverted) void
setRightInversion
(boolean xInverted, boolean yInverted)
-
Method Details
-
getLeftVector
Translation2d getLeftVector() -
getRightVector
Translation2d getRightVector() -
getLeftFieldOrientedVector
Translation2d getLeftFieldOrientedVector() -
getRightFieldOrientedVector
Translation2d getRightFieldOrientedVector() -
getLeftTrigger
double getLeftTrigger() -
getRightTrigger
double getRightTrigger() -
setLeftInversion
void setLeftInversion(boolean xInverted, boolean yInverted) -
setRightInversion
void setRightInversion(boolean xInverted, boolean yInverted)
-