Sailfish Community News, 6th June 2024 - Sauna

Hints for orientation for sfos have already been upstreamed: Support for QtWayland content orientation and window flags via SDL hints · Issue #1826 · libsdl-org/SDL · GitHub so if you use those and render in landscape swipe from bottom will be treated as sideswipe etc, there is no generic rotation trick in sdl2 as it depends on how you paint iirc, so different approaches are needed
Edit: Godot Engine port for SailfishOS - #11 by sashikknox
Since 4.4 this approach should work, what you need to rotate depends on implementation

3 Likes