moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.49k stars 324 forks source link

Rotate display (pi/mmal) #782

Closed tomblind closed 4 years ago

tomblind commented 4 years ago

Description This PR adds a command line option to rotate the video output on pi and mmal platforms, as well as the mouse input in evdev.

Purpose On raspberry pi, rotating video output via /boot/config.txt severely affects the performance of moonlight. This circumvents that issue by directly rotating the decoder output. This is useful for screens which are portrait by default.