Made functions for joystick buttons.