code: private boolean isControlDwn(int index, int controllerIndex) {
  		switch (index) {
  		case LEFT:
  			return isControllerLeft(controllerIndex);
  		case RIGHT:
  			return isControllerRight(controllerIndex);
  		case UP:
  			return isControllerUp(controllerIndex);
  		case DOWN:
  			return isControllerDown(controllerIndex);
  		}
  		
  		if (index >= BUTTON1) {
  			return isButtonPressed((index-BUTTON1), controllerIndex);
  		}
  
  		throw new RuntimeException("Unknown control index");
  	}
docs: Check if a particular control is currently pressed
  
  @param index The index of the control
  @param controllerIndex The index of the control to which the control belongs
  @return True if the control is pressed