Package frc.team_8840_lib.input.controls
Class GameController
java.lang.Object
frc.team_8840_lib.input.controls.GameController
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGameController(int port) Deprecated.GameController(int port, GameController.Type type) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddController(int port) static voidstatic voidexpectController(int port, GameController.Type type) static GameControllerget(int port) doubledoublebooleangetButton(int button) booleangetButtonPressed(int button) booleangetButtonReleased(int button) doublegetPOV()doublegetPOV(int pov) doublegetRawAxis(int axis)
-
Constructor Details
-
GameController
Deprecated. -
GameController
Deprecated.
-
-
Method Details
-
get
-
addController
public static void addController(int port) -
expectController
-
autoConnect
public static void autoConnect() -
getButton
public boolean getButton(int button) -
getButtonPressed
public boolean getButtonPressed(int button) -
getButtonReleased
public boolean getButtonReleased(int button) -
getAxis
-
getAxis
-
getRawAxis
public double getRawAxis(int axis) -
getPOV
public double getPOV(int pov) -
getPOV
public double getPOV()
-