@Override
	public boolean getJoystickButton(int joystick, int button) {
		int numButtons = getNumJoystickButtons(joystick);
		if (button < 0 || button >= numButtons) {
			return false;
		}
		return joystickButtons[joystick].get(button) == 1 ? true : false;
	}