I found this rotation code online, Can’t remember where from though. These are the values they set, but maybe its wrong.