Rotate screen on x96 air

hi i am trying to rotate screen to put in a vertical cocktail cab but i cant rotate the screen i can in retroarch but not emuelec
the box is an x96 air with the s905x3 chip and its 4g ram and 32 rom
any help would be awesome

If you want it system wide, you have to recompile the distro and change a feature parameter, nobody has tested this yet.