With this patch KScreen controls rotation of internal outputs if an orientation
sensor is present and emitting rotation values.
The default behavior is auto-rotation but can be configured through control
files.
This functionality is developed for the Wayland session but might potentially
also work on X11, what needs to be tested more.