@@ -0,0 +1,979 @@
+package com.edinarobotics.utils.gamepad;%0A%0Aimport java.util.Vector;%0A%0A/**%0A * Used to easily apply multiple filters to a GamepadResult.%0A */%0Apublic class FilterSet implements GamepadFilter%7B%0A    private Vector filters;%0A    public FilterSet()%7B%0A        filters = new Vector();%0A    %7D%0A    %0A    /**%0A     * Adds a filter to this FilterSet.%0A     * @param newFilter the filter to add to this FilterSet.%0A     */%0A    public void addFilter(GamepadFilter newFilter)%7B%0A        filters.addElement(newFilter);%0A    %7D%0A    %0A    /**%0A     * Filters a GamepadResult through all the filters in this FilterSet.%0A     * @param toFilter the GamepadResult to filter.%0A     * @return the filtered GamepadResult.%0A     */%0A    public GamepadResult filter(GamepadResult toFilter)%7B%0A        GamepadResult lastResult = toFilter;%0A        for(int i=0;i%3Cfilters.size();i++)%7B%0A            lastResult = ((GamepadFilter)filters.elementAt(i))%0A                    .filter(lastResult);%0A        %7D%0A        return lastResult;%0A    %7D%0A%7D%0A

Add FilterSet class to apply multiple GamepadFilter objects.