How do flight-capable ships control their pitch, yaw and roll in atmospheric conditions and in space? Is there a difference whether the crafts are flight-capable in atmosphere only, space-only or both? What about size - does it differ between, for example, a small personal craft, a large capital ship & a massive battle station?

**Edit**: Not a dupe. First, I'm not asking how Corellian Corvettes control flight. I'm asking how flight-capable ships in Star Wars control flight in general. Second, I'm not asking how pilots control their ships. I'm asking how the ships work. Third, I'm looking for in-universe answers.

Also, I edited my original question to clarify the context & scope.