Press a button and move the joystick

why haven't you posted the code?