Rotate and reverse mouse movement

OS : Win 10
PsychoPy version :v3.1.2
Standard Standalone? (y/n) : yes
What are you trying to achieve?:

I am trying to create a reaching task, where subject reaches a target on screen with varying locations
Similar to the mouse demo. However, in some experiments, the mouse (or touchpad) will be rotated at a certain angle. I want to rotate the mouse movement too.

In other words, if the touchpad is rotated by 90 degrees, swiping upwards would move the mouse upwards too instead of moving to the right (or left, depending on rotation direction).

What did you try to make it work?:

Since I am using the builder, I couldn’t find any readily available option to allow rotation of movement.

edit:

for anyone who is trying to do the same thing, I solved the problem easily but not through psychopy. I used a program called sakasamouse (windows only) and I can reverse and rotate freely.

Great, thanks for the update @othsoul. Solution above ^