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.
@fsd2s if you want to change it to something different just do this, when you boot a game press f7 i believe after the game starts. Then every key you press gives you a key code. Just change it to another key using its key code.