Class JoystickBase


  • @Deprecated
    public abstract class JoystickBase
    extends GenericHID
    Deprecated.
    Inherit directly from GenericHID instead.
    JoystickBase Interface.
    • Constructor Detail

      • JoystickBase

        public JoystickBase​(int port)
        Deprecated.
    • Method Detail

      • getZ

        public abstract double getZ​(GenericHID.Hand hand)
        Deprecated.
        Get the z position of the HID.
        Parameters:
        hand - which hand, left or right
        Returns:
        the z position
      • getZ

        public double getZ()
        Deprecated.
      • getTwist

        public abstract double getTwist()
        Deprecated.
        Get the twist value.
        Returns:
        the twist value
      • getThrottle

        public abstract double getThrottle()
        Deprecated.
        Get the throttle.
        Returns:
        the throttle value