GamingController

public class GamingController extends XboxController

A class representing a Logitech Gaming Pad.

Constructors

Link copied to clipboard
public void GamingController(int usbPort)
Constructor for the LogitechGamingPad.

Functions

Link copied to clipboard
public boolean checkDPad(int index)
Checks if the DPad is pressed in a specific direction.
public boolean checkDPad(double angle, boolean inDegrees)
Checks if the DPad is pressed at a specific angle.
Link copied to clipboard
public boolean dPadIsPressed()
Checks if the DPad is pressed.
Link copied to clipboard
public boolean getAButton()
Link copied to clipboard
public boolean getBackButton()
Link copied to clipboard
public boolean getBButton()
Link copied to clipboard
public int getDPad()
Gets the DPad value.
public double getDPad(boolean inDegrees)
Gets the DPad value in degrees or radians.
Link copied to clipboard
public boolean getDPadDown()
Link copied to clipboard
public boolean getDPadLeft()
Link copied to clipboard
public boolean getDPadRight()
Link copied to clipboard
public boolean getDPadUp()
Link copied to clipboard
public double getLeftAnalogXAxis()
Gets the value of the left analog X axis.
Link copied to clipboard
public double getLeftAnalogYAxis()
Gets the value of the left analog Y axis.
Link copied to clipboard
public double getLeftTriggerValue()
Gets the value of the left trigger.
Link copied to clipboard
public double getRawAxis(int which)
Link copied to clipboard
public boolean getRawButton(int button)
Link copied to clipboard
public double getRightAnalogXAxis()
Gets the value of the right analog X axis.
Link copied to clipboard
public double getRightAnalogYAxis()
Gets the value of the right analog Y axis.
Link copied to clipboard
public double getRightTriggerValue()
Gets the value of the right trigger.
Link copied to clipboard
public boolean getStartButton()
Link copied to clipboard
public boolean getXButton()
Link copied to clipboard
public boolean getYButton()
Link copied to clipboard
public void setRumble(float amount)
Sets the rumble amount for the gamepad.