Open nexus511 opened 7 years ago
Since version 1.2.14 SDL supports rotating the framebuffer. This can be done with the environment variable "SDL_VIDEO_FBCON_ROTATION". In case of the Z2 you have to set it to "CCW" (rotate counter clock wise). Source, https://boards.dingoonity.org/other-game-systems/zipit-z2-wireless-messenger/
The Zipit Z2 also uses a rotated panel for its display. I know we were able to run SDL applications with rotation on it so I looked up how it was done.
Probably just set that in /etc/profile.d/gpd-pocket-sdl.sh or a similar file to have it globally set in the environment and not worry about clobbering any existing files.
@LokiChaos Thanks for your response. I have been actually looking for excatly something like this.
There is one problem: We are not using a framebuffer on the pocket and need a solution for X11 instead.
Got some hint that it might work with SDL2.
SDL applications in fullscreen cause the display to return back to portrait mode.
It can be reproduced by installing and starting "i have no tomatoes":