Is there a way to lock orientation in crosswalk to landscape but for one side only, so when you hold your phone horizontally, microphone is always on the left and speaker on the right?
like this , it works since crosswalk 4.
(except you want secondary landscape)
haha, yeah forgot about Browser hidden features. Thanks for the reminder!.
Use Lock orientation to landscape and fullscreen in browser Letterbox scale
Develop games in your browser. Powerful, performant & highly capable.
But if you don't use "Browser > Lock orientation to secondary landscape", the screen would still flip to the other side if you turn the device 180°.
One more question from similar subject. Is there a way to check current orientation, can't find it either in system or browser? something like if it's "secondary landscape" and i switch my phone around make it "primary landscape" and show something different in my game.