update for sdl, handle joystick/gamecontroller