Changed the type accepted in the joystick movement

If this doesn't fix it, I don't know what will.