This is an update to my previous post in response to a p.m.
"... have you found any way to make possible the rotation call from retropie? cheers"
Yes it is possible. Its not easy, quick or clean.
I will explain how, and my reason it was not good for me, hope it helps someone out.
I am not an expert in python, linux or programming but I had a problem to solve.
I was running a rpi3 an the sevosix controller board that connects to the gpio on the pi.
the board reads python code to work. .py
First you need to add an extra tab to the carousel in retropie where the consoles show up.
Follow these instructions.
https://weekendengineer.wordpress.com/2014/09/15/adding-an-apps-tab-in-emulationstation/Then on the new tab called rotate put 2 small .sh programs
located where the test probram is in the instructions.
These .sh programs are links to run your .py program to rotate 0 or rotate 90.
make rotate0 rotate90 executable in the es file manager
with advanced chown rwx rwx rwx
I havent included any code because your setup will be different from mine.
I had this setup and working with a test sevo on the bench
the reason I decided against this system was :-
Your looking at your at your retropie menu, you will have to navigate to a new tab, rotate the monitor 90 deg
now you will have to navigate to your game with the text and picture still in landscape.
start the game having added rom.zip.cfg to rotate the picture. only works with lr cores.
when you exit the game you will have to navigate back to the rotate tab with the picture landscape and rotate the monitor back to horizontal.
In my opinion this was way too clunky a method of operation.
I decided to that full automation was not the way for me. so opted for a latching switch method.
I used the sparkfun servo trigger, this is a great easy to use product one board, power in, switch in, output to servo, two position to set the servo at,
perfect for a rotation monitor setup.
https://www.sparkfun.com/products/13118This is working for me right now.
There is another method i found that could possibly operate a servo. I HAVE NOT TESTED this option out
it might be perfect for someone.
In retropie you can do a runcommand -onstart runcommand -onend
to run a program at the start or when exiting a rom.
https://retropie.org.uk/docs/Runcommand/#runcommand-onstart-and-runcommand-onend-scriptsHope this helps someone.
Thanks