Class Logitech

All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
Direct Known Subclasses:
Logitech.DMode

public class Logitech extends WPIGamepad
Implementation of Logitech Controller and its 2 Modes for the Gamepad Class
  • Constructor Details

    • Logitech

      protected Logitech(int port)
    • Logitech

      protected Logitech(edu.wpi.first.wpilibj.Joystick joystick)
  • Method Details

    • getRawDPadUp

      public boolean getRawDPadUp()
      Overrides:
      getRawDPadUp in class Gamepad
      Returns:
      If the up d-pad button is pressed
    • getRawDPadDown

      public boolean getRawDPadDown()
      Overrides:
      getRawDPadDown in class Gamepad
      Returns:
      If the down d-pad button is pressed
    • getRawDPadLeft

      public boolean getRawDPadLeft()
      Overrides:
      getRawDPadLeft in class Gamepad
      Returns:
      If the left d-pad button is pressed
    • getRawDPadRight

      public boolean getRawDPadRight()
      Overrides:
      getRawDPadRight in class Gamepad
      Returns:
      If the right d-pad button is pressed