Interface ControlProfile

All Known Subinterfaces:
DriverProfile, OperatorProfile
All Known Implementing Classes:
DefaultDriverProfile, DefaultOperatorProfile, GenericControlProfile, SetpointDriverProfile

public interface ControlProfile
Represents a control profile for a physical HID device.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the physical HID device.
    double
    Returns the left rumble value for the controller.
    double
    Returns the right rumble value for the controller.
    boolean
    Returns whether or not the controller is connected.
  • Method Details

    • getHID

      GenericHID getHID()
      Returns the physical HID device.
      Returns:
      The GenericHID device.
    • getLeftRumble

      double getLeftRumble()
      Returns the left rumble value for the controller.
      Returns:
      The left rumble intensity (0.0-1.0).
    • getRightRumble

      double getRightRumble()
      Returns the right rumble value for the controller.
      Returns:
      The right rumble intensity (0.0-1.0).
    • isConnected

      boolean isConnected()
      Returns whether or not the controller is connected.
      Returns:
      True if the controller is connected, false otherwise.