Interface XRumbleManager

All Known Implementing Classes:
RumbleManager

public interface XRumbleManager
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets the current rumble state.
    void
    Called periodically to update the rumble state.
    void
    rumbleGamepad(double intensity, double length)
    Rumbles the gamepad at the specified intensity for the given duration.
    void
    Immediately stops rumbling on the gamepad.
  • Method Details

    • rumbleGamepad

      void rumbleGamepad(double intensity, double length)
      Rumbles the gamepad at the specified intensity for the given duration.
      Parameters:
      intensity - Rumble intensity, between 0 and 1.
      length - Rumble duration, in seconds
    • stopGamepadRumble

      void stopGamepadRumble()
      Immediately stops rumbling on the gamepad.
    • getIsRumbling

      boolean getIsRumbling()
      Gets the current rumble state.
      Returns:
      true if the gamepad is currently rumbling.
    • periodic

      void periodic()
      Called periodically to update the rumble state.