public class LogitechController extends GameController
| Modifier and Type | Field and Description |
|---|---|
ButtonGroup |
bumpers |
Button |
four |
Button |
leftBumper |
Button |
leftJoyButton |
Button |
leftTrigger |
Button |
one |
Button |
rightBumper |
Button |
rightJoyButton |
Button |
rightTrigger |
Button |
select |
Button |
start |
Button |
three |
ButtonGroup |
triggers |
Button |
two |
rumbleTimer| Constructor and Description |
|---|
LogitechController(int port)
Makes a LogitechController on a port.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getX2()
Gets the X axis of the second joystick.
|
double |
getY2()
Gets the Y axis of the second joystick.
|
getDPad, rumble, rumblegetRawAxis, getWPIJoystick, getX, getY, getZpublic Button one
public Button two
public Button three
public Button four
public Button start
public Button select
public Button leftBumper
public Button rightBumper
public Button leftJoyButton
public Button rightJoyButton
public Button leftTrigger
public Button rightTrigger
public ButtonGroup triggers
public ButtonGroup bumpers
public LogitechController(int port)
port - The port.public double getX2()
GameControllergetX2 in class GameControllerpublic double getY2()
GameControllergetY2 in class GameController