Keyboard shifts according to instrument

changing from flute input to bassoon for instance, using the keyboard, could it automatically shift downwards so at least it is in the same range as that instrument?