Adding rotation input based on keys

What is the ship move thing. I was having some trouble getting the game to make it change into the turret so well.