Class WinTabComponent

    • Field Detail

      • lastKnownValue

        protected float lastKnownValue
    • Method Detail

      • poll

        protected float poll()
                      throws java.io.IOException
        Specified by:
        poll in class AbstractComponent
        Throws:
        java.io.IOException
      • isAnalog

        public boolean isAnalog()
        Description copied from class: AbstractComponent
        Returns whether or not the axis is analog, or false if it is digital.
        Specified by:
        isAnalog in interface Component
        Overrides:
        isAnalog in class AbstractComponent
        Returns:
        false by default, can be overridden
      • isRelative

        public boolean isRelative()
        Description copied from interface: Component
        Returns true if data returned from poll is relative to the last call, or false if data is absolute.
      • createComponents

        public static java.util.List<WinTabComponent> createComponents​(WinTabContext context,
                                                                       int parentDevice,
                                                                       int axisId,
                                                                       int[] axisRanges)