private void clickMouse(final Gamepad gamepad) {
		if (gamepad.isPressed(5) && !mouseLeftDown) {// R1 = left click
			robot.mousePress(InputEvent.BUTTON1_DOWN_MASK);
			mouseLeftDown = true;
			System.out.println("Left Mouse Clicked");
		}
		if (!gamepad.isPressed(5) && mouseLeftDown) {
			robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
			mouseLeftDown = false;
			System.out.println("Left Mouse Released");
		}
		if (gamepad.isPressed(4) && !mouseRightDown) {// L1 = right click
			robot.mousePress(InputEvent.BUTTON3_DOWN_MASK);
			mouseRightDown = true;
			System.out.println("Right Mouse Clicked");
		}
		if (!gamepad.isPressed(4) && mouseRightDown) {
			robot.mouseRelease(InputEvent.BUTTON3_DOWN_MASK);
			mouseRightDown = false;
			System.out.println("Right Mouse Released");
		}
	}