Those solutions are not good enough for my project.
I simply want to read two buttons, if Button 1 is pressed, the PI should switch the Display Rotation to 0, if Button 2 is pressed, it should be 180degree.

Not SplitScreen, just rotating.

There must be a simple Solution with Python i think.

Any ideas?