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, rumble
getRawAxis, getWPIJoystick, getX, getY, getZ
public 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()
GameController
getX2
in class GameController
public double getY2()
GameController
getY2
in class GameController