Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: jedione on May 19, 2019, 11:06:41 AM
-
can anyone confirm this,,,
that, fe.layout.orient=RotateScreen.Right;
is not working in latest, AM build....thanks
it,s throwing a wrench in a vertical theme.... :-\
-
https://github.com/mickelson/attract/blob/master/config/plugins/RotationControl.nut
fe.layout.base_rotation = RotateScreen.Left;
https://github.com/mickelson/attract/blob/master/Layouts.md
base_rotation - Get/set the base (i.e the default) orientation of the layout. This can be one of the following values:
RotateScreen.None (default)
RotateScreen.Right
RotateScreen.Flip
RotateScreen.Left
toggle_rotation - Get/set the "toggle" orientation of the layout. The toggle rotation is added to the base_rotation to determine what the actual rotation is at any given time. The user can change this value using the Rotation Toggle inputs. This can be one of the following values:
RotateScreen.None (default)
RotateScreen.Right
RotateScreen.Flip
RotateScreen.Left
Not tested.
-
well, , it works.....hot dam thanks alot..
dont know why, the old way by just adding, a quick line vs enabling a plugin and all is necessary
its a vertical cab so ill just set-it and forget-it :P