# File lib/foxtails/FTLinearControl.rb, line 65
    def connect_to_target_list
      when_target_list CHANGES do |r|
        case r
        when Numeric
          self.range = r
          diff = r + 1
        when Range
          self.range = r
          diff = r.last + 1 - r.first
        else # assume generic Enumerable
          disable
          ## use values in r or indices of r as our data points?
          ## indices works always, but for lists of numbers, that's
          ## probably not what we want
        end

        # Some reasonable defaults:
        self.setRevolutionIncrement(diff*2)
        self.setNotchSpacing(180) ## better?
        self.setNotchOffset(0)
      end
    end