
package com.edinarobotics.zeke;

import com.edinarobotics.utils.gamepad.FilteredGamepad;
import com.edinarobotics.utils.gamepad.Gamepad;
import com.edinarobotics.utils.gamepad.gamepadfilters.*;
import java.util.Vector;
/**
 * Controls handles creating the {@link Gamepad} objects used to control the
 * robot as well as binding the proper Commands to button actions.
 */
public class Controls {

    private static Controls instance;
    public final Gamepad gamepad1;
    
    private Controls() {
        Vector driveGamepadFilters = new Vector();
        driveGamepadFilters.addElement(new GamepadDeadzoneFilter(0.1));
        driveGamepadFilters.addElement(new GamepadPowerFilter(2));
        GamepadFilterSet driveGamepadFilterSet = new GamepadFilterSet(driveGamepadFilters);
        gamepad1 = new FilteredGamepad(1, driveGamepadFilterSet);
        
    }
    
    /**
     * Returns the proper instance of Controls. This method creates a new
     * Controls object the first time it is called and returns that object for
     * each subsequent call.
     *
     * @return The current instance of Controls.
     */
    public static Controls getInstance() {
        if (instance == null) {
            instance = new Controls();
        }
        return instance;
    }
}


@@ -463,16 +463,51 @@
 mepad1;%0A
+    public final Gamepad gamepad2;%0A
     %0A   
@@ -881,24 +881,372 @@
 );%0A        %0A
+        Vector shootGamepadFilters = new Vector();%0A        shootGamepadFilters.addElement(new GamepadDeadzoneFilter(0.1));%0A        shootGamepadFilters.addElement(new GamepadPowerFilter(2));%0A        GamepadFilterSet shootGamepadFilterSet = new GamepadFilterSet(shootGamepadFilters);%0A        gamepad2 = new FilteredGamepad(2, shootGamepadFilterSet);%0A
     %7D%0A    %0A 

Add second gamepad to Controls for Zeke.