script code for basic keyboard/gamepad control for game maker studio