Class SN_Extreme3DStick

java.lang.Object
edu.wpi.first.wpilibj.GenericHID
edu.wpi.first.wpilibj.Joystick
com.frcteam3255.joystick.SN_Extreme3DStick

public class SN_Extreme3DStick extends edu.wpi.first.wpilibj.Joystick
Custom 12 Button Joystick set up for Logitech Extreme 3D Joystick
  • Nested Class Summary

    Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.Joystick

    edu.wpi.first.wpilibj.Joystick.AxisType, edu.wpi.first.wpilibj.Joystick.ButtonType

    Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.GenericHID

    edu.wpi.first.wpilibj.GenericHID.HIDType, edu.wpi.first.wpilibj.GenericHID.RumbleType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.JoystickButton
     
    edu.wpi.first.wpilibj2.command.button.POVButton
     
    edu.wpi.first.wpilibj2.command.button.POVButton
     
    edu.wpi.first.wpilibj2.command.button.POVButton
     
    edu.wpi.first.wpilibj2.command.button.POVButton
     
    edu.wpi.first.wpilibj2.command.button.POVButton
     
    edu.wpi.first.wpilibj2.command.button.POVButton
     
    edu.wpi.first.wpilibj2.command.button.POVButton
     
    edu.wpi.first.wpilibj2.command.button.POVButton
     

    Fields inherited from class edu.wpi.first.wpilibj.Joystick

    kDefaultThrottleChannel, kDefaultTwistChannel, kDefaultXChannel, kDefaultYChannel, kDefaultZChannel
  • Constructor Summary

    Constructors
    Constructor
    Description
    Logitech Extreme 3D Pro Joystick with 12 buttons
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double
     
    double
     
    double
     
    double
     

    Methods inherited from class edu.wpi.first.wpilibj.Joystick

    getDirectionDegrees, getDirectionRadians, getMagnitude, getThrottle, getThrottleChannel, getTop, getTopPressed, getTopReleased, getTrigger, getTriggerPressed, getTriggerReleased, getTwist, getTwistChannel, getX, getXChannel, getY, getYChannel, getZ, getZChannel, setThrottleChannel, setTwistChannel, setXChannel, setYChannel, setZChannel, top, trigger

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • btn_1

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_1
    • btn_2

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_2
    • btn_3

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_3
    • btn_4

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_4
    • btn_5

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_5
    • btn_6

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_6
    • btn_7

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_7
    • btn_8

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_8
    • btn_9

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_9
    • btn_10

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_10
    • btn_11

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_11
    • btn_12

      public edu.wpi.first.wpilibj2.command.button.JoystickButton btn_12
    • POV_North

      public edu.wpi.first.wpilibj2.command.button.POVButton POV_North
    • POV_NorthEast

      public edu.wpi.first.wpilibj2.command.button.POVButton POV_NorthEast
    • POV_East

      public edu.wpi.first.wpilibj2.command.button.POVButton POV_East
    • POV_SouthEast

      public edu.wpi.first.wpilibj2.command.button.POVButton POV_SouthEast
    • POV_South

      public edu.wpi.first.wpilibj2.command.button.POVButton POV_South
    • POV_SouthWest

      public edu.wpi.first.wpilibj2.command.button.POVButton POV_SouthWest
    • POV_West

      public edu.wpi.first.wpilibj2.command.button.POVButton POV_West
    • POV_NorthWest

      public edu.wpi.first.wpilibj2.command.button.POVButton POV_NorthWest
  • Constructor Details

    • SN_Extreme3DStick

      public SN_Extreme3DStick(int port)
      Logitech Extreme 3D Pro Joystick with 12 buttons
      Parameters:
      port - The port on the Driver Station that the joystick is plugged into.
  • Method Details

    • getXAxis

      public double getXAxis()
      Returns:
      position value of RawAxis(0)
    • getYAxis

      public double getYAxis()
      Returns:
      inverted position value of RawAxis(1)
    • getTwistAxis

      public double getTwistAxis()
      Returns:
      position Value of RawAxis(2)
    • getDialAxis

      public double getDialAxis()
      Returns:
      inverted position value of RawAxis(3)
    • getAxisVar

      public double getAxisVar(SN_IntPreference axisId)
      Parameters:
      axisId - id number of controller axis, viewable in this file if needed
      Returns:
      position value of RawAxis(axisId)