How do I make my side scrolling character follow my camera direction?

I’m creating a camera/controller system similar to “Fez” where pressing a button rotates the camera and character direction by 90 degrees. However, I’m struggling to get the character’s controls to align with the new camera angle every time it shifts—any ideas on making this work?