Class PhysicalJoystick


public class PhysicalJoystick extends Joystick
A Joystick controlled through Addresses.
  • Constructor Details

    • PhysicalJoystick

      public PhysicalJoystick(String id, DoubleAddress xAddress, DoubleAddress yAddress, DoubleAddress buttonAddress)
      Creates a new PhysicalJoystick.
      Parameters:
      id - The ID string for the PhysicalJoystick to use.
      xAddress - The Address used for the X axis.
      yAddress - The Address used for the Y axis.
      buttonAddress - The Address used for the Button.
  • Method Details

    • updateClient

      public void updateClient()
      Description copied from class: Control
      Updates the control's state on the client. This should get any feedback from the server, but this should not interface with the buttonbox hardware.

      This doesn't do anything by default, and should be overridden by the class inheritting this.

      Overrides:
      updateClient in class Joystick