SDL2 in landscape mode [duplicate]
Is there going to be a fix in the SDL2 library to support landscape mode?
I waited for the market to allow SDL2 applications and now that we can have SDL2 games I had one of my games rejected because it's in landscape mode, at least rendering in landscape mode, but all swipes are as if in portrait mode. So minimize and close swipes don't follow the rotation.
Because the rotation isn't done automatically by the system I have to rotate and translate (in space) the position of the objects and the touch events. Everything related to my game works perfectly but if you want to close the game you have to swipe from right to left, or if you want to minimize you have to swipe from top to bottom.
Specifically the rejection reason word-for-word is:
"Your application is coded to landscape mode. This makes the swipe closing gesture not working as it should work from the top of the application. Currently it works from the right side since the application is set on portrait mode and not actually on landscape mode as the UI shows it. This might confuse the Jolla user since swipe gestures are orientating with the screen orientation. Please fix this orientation issue."
So my game was rejected because of a bug in the system and not my game.
I believe the devel mailing list is a better place to get answers on this.
ApB ( 2015-03-23 22:11:20 +0200 )editAlready reported to the devel mailing list, but the answer I received was from other developers and not an official from Jolla.
The answer was that I should try to fix the library and send for approval the patch. I believe a system library, one that is installed on the device should be fixed by the Jolla developers, that is why I reported here as a BUG
hamlatzis ( 2015-03-24 08:51:28 +0200 )editWith the upcoming Tablet, there is a chance that support for landscape mode will finally get some love.
smoku ( 2015-03-24 09:39:18 +0200 )editAre we going to get a fix ever?
hamlatzis ( 2016-10-31 19:49:41 +0200 )edit