public String[] getControllers() {
    	controllers = ControllerEnvironment.getDefaultEnvironment().getControllers();
        
        // An Array to store all of the controllers to be returned
        String[] controllersFound = new String[controllers.length+1];
        
        controllersFound[0] = "Disabled";
        
        // Return an ArrayList with the names of all of the connected devices
        for (int j=0;j<controllers.length;j++) {
            controllersFound[j+1] = controllers[j].getName();
        }
        
        return controllersFound;
    }