Class GExtreme3DPro
java.lang.Object
edu.wpi.first.wpilibj.GenericHID
io.github.tigerbotics7125.tigerlib.input.controller.GExtreme3DPro
public class GExtreme3DPro
extends edu.wpi.first.wpilibj.GenericHID
An input wrapper for the logitech GExtreme3DPro joystick.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Represents an analog axis on the joystickstatic enum
Represents a digital button on the joystickNested classes/interfaces inherited from class edu.wpi.first.wpilibj.GenericHID
edu.wpi.first.wpilibj.GenericHID.HIDType, edu.wpi.first.wpilibj.GenericHID.RumbleType
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class edu.wpi.first.wpilibj.GenericHID
axisGreaterThan, axisLessThan, button, getAxisCount, getAxisType, getButtonCount, getName, getPort, getPOV, getPOV, getPOVCount, getRawAxis, getRawButton, getRawButtonPressed, getRawButtonReleased, getType, isConnected, pov, pov, povCenter, povDown, povDownLeft, povDownRight, povLeft, povRight, povUp, povUpLeft, povUpRight, setOutput, setOutputs, setRumble
-
Field Details
-
pov
-
-
Constructor Details
-
GExtreme3DPro
public GExtreme3DPro(int port) - Parameters:
port
- The port index on Driver Station that the joystick is plugged into.
-
-
Method Details
-
trigger
- Returns:
- The trigger's
JoystickTrigger
.
-
thumb
- Returns:
- The thumb's
JoystickTrigger
.
-
three
- Returns:
- The 3 button's
JoystickTrigger
.
-
four
- Returns:
- The 4 button's
JoystickTrigger
.
-
five
- Returns:
- The 5 button's
JoystickTrigger
.
-
six
- Returns:
- The 6 button's
JoystickTrigger
.
-
seven
- Returns:
- The 7 button's
JoystickTrigger
.
-
eight
- Returns:
- The 8 button's
JoystickTrigger
.
-
nine
- Returns:
- The 9 button's
JoystickTrigger
.
-
ten
- Returns:
- The 10 button's
JoystickTrigger
.
-
eleven
- Returns:
- The 11 button's
JoystickTrigger
.
-
twelve
- Returns:
- The 12 button's
JoystickTrigger
.
-
x
- Returns:
- The x axis'
JoystickAxisTrigger
.
-
y
- Returns:
- The y axis'
JoystickAxisTrigger
-
z
- Returns:
- The z axis'
JoystickAxisTrigger
-
throttle
- Returns:
- The throttle axis'
JoystickAxisTrigger
-